From 73d6f297805faa5ab01168d0d29a723010e96730 Mon Sep 17 00:00:00 2001 From: aldot Date: Fri, 26 May 2006 14:24:56 +0000 Subject: - use portability wrapper define bb_setpgrp. git-svn-id: svn://busybox.net/trunk/busybox@15192 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- init/init_shared.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'init/init_shared.c') diff --git a/init/init_shared.c b/init/init_shared.c index 51e1496c2..6404da55a 100644 --- a/init/init_shared.c +++ b/init/init_shared.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include @@ -26,7 +27,7 @@ int bb_shutdown_system(unsigned long magic) /* Don't kill ourself */ signal(SIGTERM,SIG_IGN); signal(SIGHUP,SIG_IGN); - setpgrp(); + bb_setpgrp; /* Allow Ctrl-Alt-Del to reboot system. */ #ifndef RB_ENABLE_CAD -- cgit v1.2.3-55-g6feb