summaryrefslogtreecommitdiffstats
path: root/package/kexec/kexec-tools-my_shutdown-args.patch
blob: 65f57db5086b4d0c673e98e7c15657b516e32f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -rup kexec-tools-1.101.orig/kexec/kexec.c kexec-tools-1.101/kexec/kexec.c
--- kexec-tools-1.101.orig/kexec/kexec.c	2006-12-20 18:40:26.000000000 +0100
+++ kexec-tools-1.101/kexec/kexec.c	2006-12-20 18:41:02.000000000 +0100
@@ -629,7 +629,7 @@ int k_unload (unsigned long kexec_flags)
  */
 static int my_shutdown(void)
 {
-	char *args[8];
+	char *args[2];
 
 	args[0] = "reboot";
 	args[1] = NULL;