[BusyBox-cvs] busybox.stable init.c,1.179,1.180

Erik Andersen andersen at busybox.net
Sat Jul 5 08:39:50 UTC 2003


Update of /var/cvs/busybox.stable
In directory winder:/tmp/cvs-serv16345

Modified Files:
	init.c 
Log Message:
oops


Index: init.c
===================================================================
RCS file: /var/cvs/busybox.stable/init.c,v
retrieving revision 1.179
retrieving revision 1.180
diff -u -d -r1.179 -r1.180
--- init.c	5 Jul 2003 08:28:38 -0000	1.179
+++ init.c	5 Jul 2003 08:39:47 -0000	1.180
@@ -178,6 +178,7 @@
 /* Function prototypes */
 static void delete_init_action(struct init_action *a);
 static int waitfor(struct init_action *a);
+static void halt_signal(int sig);
 
 
 static void loop_forever(void)
@@ -765,6 +766,8 @@
 	for (a = init_action_list; a; a = tmp) {
 		tmp = a->next;
 		if (a->action & RESTART) {
+			struct stat sb;
+
 			shutdown_system();
 
 			/* unblock all signals, blocked in shutdown_system() */




More information about the busybox-cvs mailing list