]> git.marmaro.de Git - mmh/blobdiff - sbr/lock_file.c
Fixed bug in which the static maildir was overwritted if a format string
[mmh] / sbr / lock_file.c
index 5cd187243acf69cc722e0424e59ccafcd1524d87..6deddd4a2c3e1ce45c21ac1d9b5bb0204b5fed4c 100644 (file)
@@ -56,8 +56,6 @@
 #include <lockfile.h>
 #endif
 
-extern int errno;
-
 #ifdef LOCKDIR
 char *lockdir = LOCKDIR;
 #endif
@@ -342,7 +340,6 @@ lkopen_kernel (char *file, int access, mode_t mode)
 
        j = errno;
        close (fd);
-       admonish (file, "lock did not succeed, waiting");
        sleep (5);
     }