diff options
-rw-r--r-- | lock.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -61,7 +61,8 @@ static void unlockit(void) { if (lockfile && lock_acquired) { if (unlink(lockfile)) { - (void)truncate(lockfile, (off_t)0); + int dummy = truncate(lockfile, (off_t)0); + (void)dummy; } } } |