mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-15 08:13:34 +08:00
61bbad50a0
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
12 lines
309 B
Diff
12 lines
309 B
Diff
--- /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) {
|