diff options
Diffstat (limited to 'src/lock.c')
-rw-r--r-- | src/lock.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -38,7 +38,7 @@ #include "lock.h" #include "util.h" -// Where do lockfiles reside? +/* Where do lockfiles reside? */ #ifndef LOCK_DIR #define LOCK_DIR "/var/lock" #endif @@ -157,7 +157,7 @@ int device_lock(const char *dev, const char *appname) { } -// Tries to lock the first free device, returns 0 on success +/* Tries to lock the first free device, returns 0 on success */ int device_lock_first(const char *appname, char *dev, size_t l) { int i, found = 0; @@ -178,7 +178,7 @@ int device_lock_first(const char *appname, char *dev, size_t l) { } } -// Deletes the lockfile +/* Deletes the lockfile */ void device_unlock(void) { if (lockfile) { unlink(lockfile); |