summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2013-09-18 23:12:13 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-21 05:49:03 +0100
commit31e8affe365ca9f1b91e31e3798f3d0725da15df (patch)
tree1aca718c2bacd02f6bcaf9766554e943108f3072
parent5cf9e79ca7a28376c7645271136eb2cbb30dc5bc (diff)
startup: be more specific in the shutdown message
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.
-rw-r--r--startup/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/startup/startup.c b/startup/startup.c
index 4c91d4cf..0a338559 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)
{