aboutsummaryrefslogtreecommitdiff
path: root/src/librc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/librc-misc.c')
-rw-r--r--src/librc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librc-misc.c b/src/librc-misc.c
index c3a67541..87e8faef 100644
--- a/src/librc-misc.c
+++ b/src/librc-misc.c
@@ -568,7 +568,7 @@ char **rc_make_env (void)
bool has_net_fs_list = false;
FILE *fp;
char buffer[PATH_MAX];
- char *runlevel = rc_get_runlevel ();
+ char *runlevel = rc_runlevel_get ();
/* Don't trust environ for softlevel yet */
snprintf (buffer, PATH_MAX, "%s.%s", RC_CONFIG, runlevel);