From: Timo Sirainen Date: Thu, 30 Apr 2009 20:17:56 +0000 (-0400) Subject: dict-file: If file_dotlock_open() fails, log also the path. X-Git-Tag: 2.0.alpha1~872 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=abc3baef9960cf3024c0ba711db51735c271154c;p=thirdparty%2Fdovecot%2Fcore.git dict-file: If file_dotlock_open() fails, log also the path. --HG-- branch : HEAD --- diff --git a/src/lib-dict/dict-file.c b/src/lib-dict/dict-file.c index bfba70e904..60d7c2f9a2 100644 --- a/src/lib-dict/dict-file.c +++ b/src/lib-dict/dict-file.c @@ -292,7 +292,8 @@ static int file_dict_write_changes(struct file_dict_transaction_context *ctx) fd = file_dotlock_open(&file_dict_dotlock_settings, dict->path, 0, &dotlock); if (fd == -1) { - i_error("file dict commit: file_dotlock_open() failed: %m"); + i_error("file dict commit: file_dotlock_open(%s) failed: %m", + dict->path); return -1; } /* refresh once more now that we're locked */