aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/bootchartd.c2
-rw-r--r--init/init.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/init/bootchartd.c b/init/bootchartd.c
index 4377d90e3..750f67356 100644
--- a/init/bootchartd.c
+++ b/init/bootchartd.c
@@ -208,7 +208,7 @@ static char *make_tempdir(void)
bb_perror_msg_and_die("can't %smount tmpfs", "un");
}
#else
- bb_perror_msg_and_die("can't create temporary directory");
+ bb_simple_perror_msg_and_die("can't create temporary directory");
#endif
} else {
xchdir(tempdir);
diff --git a/init/init.c b/init/init.c
index 87086b48b..0f3c5fa4d 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1086,7 +1086,7 @@ int init_main(int argc UNUSED_PARAM, char **argv)
if (getpid() != 1
&& (!ENABLE_LINUXRC || applet_name[0] != 'l') /* not linuxrc? */
) {
- bb_error_msg_and_die("must be run as PID 1");
+ bb_simple_error_msg_and_die("must be run as PID 1");
}
#ifdef RB_DISABLE_CAD
/* Turn off rebooting via CTL-ALT-DEL - we get a