The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / lockfile-progs / 0001-sus3v-legacy.patch
diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/lockfile-progs/0001-sus3v-legacy.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/lockfile-progs/0001-sus3v-legacy.patch
new file mode 100644 (file)
index 0000000..8cf552e
--- /dev/null
@@ -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) {