dmraid-use-modern-run-lock-dir.patch 457 B

12345678910111213
  1. diff -up 1.0.0.rc16/lib/locking/locking.c~ 1.0.0.rc16/lib/locking/locking.c
  2. --- 1.0.0.rc16/lib/locking/locking.c~ 2009-09-16 10:55:23.000000000 +0200
  3. +++ 1.0.0.rc16/lib/locking/locking.c 2020-07-23 13:50:07.613361274 +0200
  4. @@ -12,7 +12,7 @@
  5. #include "internal.h"
  6. /* File locking private data. */
  7. -static const char *lock_file = "/var/lock/dmraid/.lock";
  8. +static const char *lock_file = "/run/lock/dmraid.lock";
  9. static int lf = -1;
  10. /* flock file. */