From: Timo Sirainen Date: Mon, 26 May 2003 13:20:25 +0000 (+0300) Subject: more verbose error message for "lock timeout" X-Git-Tag: 1.1.alpha1~4601 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=838dd3d6ad8e201a65249ec4d0f478e8107c5bea;p=thirdparty%2Fdovecot%2Fcore.git more verbose error message for "lock timeout" --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-index-util.c b/src/lib-index/mail-index-util.c index 863ed0307f..62bf7aab54 100644 --- a/src/lib-index/mail-index-util.c +++ b/src/lib-index/mail-index-util.c @@ -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;