aboutsummaryrefslogtreecommitdiff
path: root/package/kexec
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-20 17:40:52 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-12-20 17:40:52 +0000
commit3302ff40e6a03c2e1e660cda69a934e09eac59cf (patch)
tree0bf266ce0460318763718a36c40730233ba47c58 /package/kexec
parent7913aa067571ae707f84e5869653634d947df025 (diff)
downloadbuildroot-3302ff40e6a03c2e1e660cda69a934e09eac59cf.tar.gz
buildroot-3302ff40e6a03c2e1e660cda69a934e09eac59cf.tar.bz2
- Add args patch.
Diffstat (limited to 'package/kexec')
-rw-r--r--package/kexec/kexec-tools-my_shutdown-args.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/kexec/kexec-tools-my_shutdown-args.patch b/package/kexec/kexec-tools-my_shutdown-args.patch
new file mode 100644
index 0000000000..65f57db508
--- /dev/null
+++ b/package/kexec/kexec-tools-my_shutdown-args.patch
@@ -0,0 +1,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;