commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[hurd] 18/64: startup: be more specific in the shutdown message


From: Samuel Thibault
Subject: [hurd] 18/64: startup: be more specific in the shutdown message
Date: Wed, 10 Dec 2014 15:17:04 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch upstream
in repository hurd.

commit 31e8affe365ca9f1b91e31e3798f3d0725da15df
Author: Justus Winter <address@hidden>
Date:   Wed Sep 18 23:12:13 2013 +0200

    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.
---
 startup/startup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/startup/startup.c b/startup/startup.c
index 4c91d4c..0a33855 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)
     {

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/hurd.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]