]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
more verbose error message for "lock timeout"
authorTimo Sirainen <tss@iki.fi>
Mon, 26 May 2003 13:20:25 +0000 (16:20 +0300)
committerTimo Sirainen <tss@iki.fi>
Mon, 26 May 2003 13:20:25 +0000 (16:20 +0300)
--HG--
branch : HEAD

src/lib-index/mail-index-util.c

index 863ed0307fe099499a693b74f3c2a81158e7b0e8..62bf7aab5475047cd23b79ae343b8dc938e21e4d 100644 (file)
@@ -142,7 +142,8 @@ int mail_index_wait_lock(struct mail_index *index, int lock_type)
 
        if (ret == 0) {
                index_set_error(index, "Timeout while waiting for release of "
-                               "fcntl() lock for index file %s",
+                               "%s fcntl() lock for index file %s",
+                               lock_type == F_WRLCK ? "exclusive" : "shared",
                                index->filepath);
                index->index_lock_timeout = TRUE;
                return FALSE;