aboutsummaryrefslogtreecommitdiff
path: root/src/rc-update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc-update.c')
-rw-r--r--src/rc-update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rc-update.c b/src/rc-update.c
index e799f973..5e5786b9 100644
--- a/src/rc-update.c
+++ b/src/rc-update.c
@@ -208,7 +208,7 @@ int rc_update (int argc, char **argv)
if (service)
rc_strlist_add (&runlevels, service);
if (! runlevels)
- runlevels = rc_get_runlevels ();
+ runlevels = rc_runlevel_list ();
show (runlevels, verbose);
} else {
@@ -226,7 +226,7 @@ int rc_update (int argc, char **argv)
else
eerrorx ("%s: invalid action", applet);
if (! runlevels)
- runlevels = rc_get_runlevels ();
+ runlevels = rc_runlevel_list ();
STRLIST_FOREACH (runlevels, runlevel, i) {
ssize_t ret = actfunc (runlevel, service);
if (ret < 0)