summaryrefslogtreecommitdiff
path: root/src/rc/rc-misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/rc-misc.c')
-rw-r--r--src/rc/rc-misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c
index 7c5d101..e802ee4 100644
--- a/src/rc/rc-misc.c
+++ b/src/rc/rc-misc.c
@@ -224,7 +224,7 @@ void env_config(void)
setenv("RC_RUNLEVEL", e, 1);
free(e);
- if ((fp = fopen(RC_KSOFTLEVEL, "r"))) {
+ if ((fp = fopen(RC_KRUNLEVEL, "r"))) {
memset(buffer, 0, sizeof (buffer));
if (fgets(buffer, sizeof (buffer), fp)) {
l = strlen (buffer) - 1;