From 260318f24fb806be93122b1704ad4e0ea80a748f Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 3 Oct 2007 14:11:55 +0000 Subject: rc_get_runlevels -> rc_runlevel_list --- src/rc-status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/rc-status.c') 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) -- cgit v1.2.3