aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/halt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c
index e852b870e..62f93c5cd 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -95,6 +95,6 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
rc = reboot(magic[which]);
if (rc)
- bb_error_msg("no");
+ bb_perror_nomsg_and_die();
return rc;
}