summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue_fs.c
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2013-10-26 12:28:00 +0000
committerEric Faurot <eric@cvs.openbsd.org>2013-10-26 12:28:00 +0000
commit0c5642f535322aedb5da9dfd17e1a3135d89a46f (patch)
treee90728c67a471658c4cc9164959032dd091b7569 /usr.sbin/smtpd/queue_fs.c
parentadbfcdcd569d8ec6daa5a16b64500858e3bd7364 (diff)
%i -> %d in format strings
Diffstat (limited to 'usr.sbin/smtpd/queue_fs.c')
-rw-r--r--usr.sbin/smtpd/queue_fs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/queue_fs.c b/usr.sbin/smtpd/queue_fs.c
index 767064172ac..5530312d726 100644
--- a/usr.sbin/smtpd/queue_fs.c
+++ b/usr.sbin/smtpd/queue_fs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: queue_fs.c,v 1.1 2013/07/19 20:37:07 eric Exp $ */
+/* $OpenBSD: queue_fs.c,v 1.2 2013/10/26 12:27:59 eric Exp $ */
/*
* Copyright (c) 2011 Gilles Chehade <gilles@poolp.org>
@@ -215,7 +215,7 @@ again:
if (stat(corruptdir, &sb) != -1 || errno != ENOENT) {
fsqueue_message_corrupt_path(msgid, corruptdir,
sizeof(corruptdir));
- snprintf(buf, sizeof(buf), ".%i", retry++);
+ snprintf(buf, sizeof(buf), ".%d", retry++);
strlcat(corruptdir, buf, sizeof(corruptdir));
goto again;
}