Use the BOOT macro to print either halt or reboot instead of the
generic shutdown in the event of an system shutdown.
* startup/startup.c (reboot_system): Use more specific message.
---
startup/startup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/startup/startup.c b/startup/startup.c
index a569fe2..b872188 100644
--- a/startup/startup.c
+++ b/startup/startup.c
@@ -217,7 +217,7 @@ notify_shutdown (const char *msg)
void
reboot_system (int flags)
{
- notify_shutdown ("shutdown");
+ notify_shutdown (BOOT (flags));
if (fakeboot)
{
--
1.7.10.4
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/1379934211-12646-7-git-send-email-4win...@informatik.uni-hamburg.de