aboutsummaryrefslogtreecommitdiff
path: root/package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch
diff options
context:
space:
mode:
authorGravatar Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>2013-10-06 20:36:11 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2013-10-06 20:38:52 +0200
commit61bbad50a031f7eaa04347e9a701e6410809bc7e (patch)
tree60a2c2cb19b4eee078b402a18cfe652490417342 /package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch
parent07a23498d948e18b0e355ce8ee4027b8812a55f0 (diff)
downloadbuildroot-61bbad50a031f7eaa04347e9a701e6410809bc7e.tar.gz
buildroot-61bbad50a031f7eaa04347e9a701e6410809bc7e.tar.bz2
lockfile-progs: change the patch name
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch')
-rw-r--r--package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch b/package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch
new file mode 100644
index 0000000000..8cf552ef5c
--- /dev/null
+++ b/package/lockfile-progs/lockfile-progs-01-sus3v-legacy.patch
@@ -0,0 +1,11 @@
+--- /lockfile-progs.orig.c 2007-10-11 10:32:09.000000000 -0300
++++ /lockfile-progs.c 2007-10-11 10:32:28.000000000 -0300
+@@ -93,7 +93,7 @@
+ { NULL, 0, NULL, 0 }
+ };
+
+- char *cmd_name = rindex(argv[0], '/');
++ char *cmd_name = strrchr(argv[0], '/');
+ int mail_cmd_p = 0;
+
+ if(cmd_name != NULL) {