File dmraid-move-var-lock-to-run-lock.patch of Package dmraid

Index: 1.0.0.rc16/lib/locking/locking.c
===================================================================
--- 1.0.0.rc16.orig/lib/locking/locking.c
+++ 1.0.0.rc16/lib/locking/locking.c
@@ -12,7 +12,7 @@
 #include "internal.h"
 
 /* File locking private data. */
-static const char *lock_file = "/var/lock/dmraid/.lock";
+static const char *lock_file = "/run/lock/dmraid/.lock";
 static int lf = -1;
 
 /* flock file. */
openSUSE Build Service is sponsored by