diff options
Diffstat (limited to 'debian/patches/0006-startup-be-more-specific-in-the-shutdown-message.patch')
| -rw-r--r-- | debian/patches/0006-startup-be-more-specific-in-the-shutdown-message.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/patches/0006-startup-be-more-specific-in-the-shutdown-message.patch b/debian/patches/0006-startup-be-more-specific-in-the-shutdown-message.patch new file mode 100644 index 00000000..d2f9f5ce --- /dev/null +++ b/debian/patches/0006-startup-be-more-specific-in-the-shutdown-message.patch @@ -0,0 +1,29 @@ +From 4c6541b4955425e62c2014c66bcb541c95c534db Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Wed, 18 Sep 2013 23:12:13 +0200 +Subject: [PATCH 6/8] 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) + { +-- +2.1.0 + |
