Blame view

buildroot/buildroot-2016.08.1/package/lockfile-progs/0001-sus3v-legacy.patch 309 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
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) {