From 9d57a8073af171ae76298f746677fc19a14545a2 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 23 Oct 2009 14:24:44 +0200 Subject: libbb.h: tidy it up a bit. no code changes (verified) Signed-off-by: Denys Vlasenko --- init/halt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'init/halt.c') diff --git a/init/halt.c b/init/halt.c index c88c333e7..16906dfe0 100644 --- a/init/halt.c +++ b/init/halt.c @@ -40,10 +40,15 @@ static void write_wtmp(void) #define RB_HALT_SYSTEM RB_HALT #endif +#ifndef RB_POWERDOWN +/* Stop system and switch power off if possible. */ +# define RB_POWERDOWN 0x4321fedc +#endif #ifndef RB_POWER_OFF -#define RB_POWER_OFF RB_POWERDOWN +# define RB_POWER_OFF RB_POWERDOWN #endif + int halt_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; int halt_main(int argc UNUSED_PARAM, char **argv) { -- cgit v1.2.3