diff options
author | Roy Marples <roy@marples.name> | 2007-10-03 14:11:55 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-10-03 14:11:55 +0000 |
commit | 260318f24fb806be93122b1704ad4e0ea80a748f (patch) | |
tree | d2613f36bd7a1fee2bff228b011b43fdeb353c1a /src/rc-status.c | |
parent | 0ccf248afde8159ece027af1491daed97c761420 (diff) |
rc_get_runlevels -> rc_runlevel_list
Diffstat (limited to 'src/rc-status.c')
-rw-r--r-- | src/rc-status.c | 6 |
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) |