]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
istream-seekable: Log file creation error as creat() failure, not open().
authorTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 15:16:46 +0000 (18:16 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 15:16:46 +0000 (18:16 +0300)
--HG--
branch : HEAD

src/lib/istream-seekable.c

index 202b4999b7a973c4ad765c7bdd1daf7df2bee377..ae09a66a415d6662ee277d5d04c75f8fd31fb58b 100644 (file)
@@ -98,7 +98,7 @@ static int copy_to_temp_file(struct seekable_istream *sstream)
                        break;
 
                if (errno != EEXIST) {
-                       i_error("open(%s) failed: %m", path);
+                       i_error("creat(%s) failed: %m", path);
                        return -1;
                }
        }