aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc/rc-status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c
index 747c2ccf..03084192 100644
--- a/src/rc/rc-status.c
+++ b/src/rc/rc-status.c
@@ -266,7 +266,7 @@ rc_status(int argc, char **argv)
/* Show hotplugged services */
print_level("hotplugged");
services = rc_services_in_state(RC_SERVICE_HOTPLUGGED);
- print_services(NULL, nservices);
+ print_services(NULL, services);
rc_stringlist_free(services);
services = NULL;