projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
halt/reboot/poweroff: improve error reporting
[platform/upstream/busybox.git]
/
init
/
halt.c
diff --git
a/init/halt.c
b/init/halt.c
index
e852b87
..
62f93c5
100644
(file)
--- 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;
}