]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
dict-file: If file_dotlock_open() fails, log also the path.
authorTimo Sirainen <tss@iki.fi>
Thu, 30 Apr 2009 20:17:56 +0000 (16:17 -0400)
committerTimo Sirainen <tss@iki.fi>
Thu, 30 Apr 2009 20:17:56 +0000 (16:17 -0400)
--HG--
branch : HEAD

src/lib-dict/dict-file.c

index bfba70e9042576d4fe511a588eee0752bc774ca9..60d7c2f9a292678a8046f70f1130541ece38c6e9 100644 (file)
@@ -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 */