summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 747c2cc..0308419 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;