]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-index: Minor error message improvement.
authorTimo Sirainen <tss@iki.fi>
Thu, 4 Nov 2010 17:55:47 +0000 (17:55 +0000)
committerTimo Sirainen <tss@iki.fi>
Thu, 4 Nov 2010 17:55:47 +0000 (17:55 +0000)
src/lib-index/mail-transaction-log-file.c

index 3fc61501cd851e59a418362f2baf345241270bdf..1196a08c923a224dd00880e76c7e2db94217806d 100644 (file)
@@ -1505,7 +1505,8 @@ mail_transaction_log_file_map_mmap(struct mail_transaction_log_file *file,
 
        if ((uoff_t)st.st_size < file->sync_offset) {
                mail_transaction_log_file_set_corrupted(file,
-                                                       "file size shrank");
+                       "file size shrank (%"PRIuUOFF_T" < %"PRIuUOFF_T")",
+                       (uoff_t)st.st_size, file->sync_offset);
                return 0;
        }