aboutsummaryrefslogtreecommitdiff
path: root/src/rc-status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-status.c')
-rw-r--r--src/rc-status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rc-status.c b/src/rc-status.c
index aa7ca30c..b23c93a7 100644
--- a/src/rc-status.c
+++ b/src/rc-status.c
@@ -93,10 +93,10 @@ int rc_status (int argc, char **argv)
while ((opt = getopt_long(argc, argv, getoptstring, longopts, (int *) 0)) != -1)
switch (opt) {
case 'a':
- levels = rc_get_runlevels ();
+ levels = rc_runlevel_list ();
break;
case 'l':
- levels = rc_get_runlevels ();
+ levels = rc_runlevel_list ();
STRLIST_FOREACH (levels, level, i)
printf ("%s\n", level);
rc_strlist_free (levels);
@@ -109,7 +109,7 @@ int rc_status (int argc, char **argv)
exit (EXIT_SUCCESS);
case 'u':
services = rc_services_in_runlevel (NULL);
- levels = rc_get_runlevels ();
+ levels = rc_runlevel_list ();
STRLIST_FOREACH (services, service, i) {
bool found = false;
STRLIST_FOREACH (levels, level, j)