aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 15:48:57 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 15:48:57 +0000
commit9db164d6e39050d09f38288c6045cd2a2cbf6d63 (patch)
treeea5dc2d28d15da0de25c197ed7d059c3656af1a0 /init
parent1118c95535ea51961437089fc3dece5ab4ea7e1b (diff)
parentd84b175cb6948eb17f847313bf912174e2f934e1 (diff)
downloadbusybox-w32-9db164d6e39050d09f38288c6045cd2a2cbf6d63.tar.gz
busybox-w32-9db164d6e39050d09f38288c6045cd2a2cbf6d63.tar.bz2
busybox-w32-9db164d6e39050d09f38288c6045cd2a2cbf6d63.zip
Merge commit 'd84b175cb6948eb17f847313bf912174e2f934e1' into merge
Conflicts: include/platform.h
Diffstat (limited to 'init')
-rw-r--r--init/halt.c2
-rw-r--r--init/init.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/init/halt.c b/init/halt.c
index 1aac0faf9..7974adb17 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -159,7 +159,7 @@ int halt_main(int argc UNUSED_PARAM, char **argv)
159 which == 2 ? "6" : "0", 159 which == 2 ? "6" : "0",
160 (char *)NULL 160 (char *)NULL
161 ); 161 );
162 perror_msg_and_die("can't execute '%s'", 162 bb_perror_msg_and_die("can't execute '%s'",
163 CONFIG_TELINIT_PATH); 163 CONFIG_TELINIT_PATH);
164 } 164 }
165 } 165 }
diff --git a/init/init.c b/init/init.c
index ff9dc06a4..645f694c0 100644
--- a/init/init.c
+++ b/init/init.c
@@ -113,7 +113,8 @@
113#include <paths.h> 113#include <paths.h>
114#include <sys/resource.h> 114#include <sys/resource.h>
115#ifdef __linux__ 115#ifdef __linux__
116#include <linux/vt.h> 116# include <linux/vt.h>
117# include <sys/sysinfo.h>
117#endif 118#endif
118#include "reboot.h" /* reboot() constants */ 119#include "reboot.h" /* reboot() constants */
119 120