summaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c
index e852b87..62f93c5 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;
}