diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-03-17 13:10:04 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2012-03-17 13:10:04 +0000 |
commit | 8943a88bbcf31aa712586ad25b9f4e921b867cd0 (patch) | |
tree | f754e5daa95dee0d3431f8423b16fc5aa8dcccd3 | |
parent | abbbd96eeae1e4e731a3d7d30f4212f0e1f1eca8 (diff) |
llu -> PRIu64 in enqueue() to avoid warning in portable
diff from Guillaume Leconte <guillaume.leconte@scality.com>
-rw-r--r-- | usr.sbin/smtpd/enqueue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/enqueue.c b/usr.sbin/smtpd/enqueue.c index 9923a8e9b90..db9df4743ac 100644 --- a/usr.sbin/smtpd/enqueue.c +++ b/usr.sbin/smtpd/enqueue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: enqueue.c,v 1.55 2012/02/02 16:52:59 eric Exp $ */ +/* $OpenBSD: enqueue.c,v 1.56 2012/03/17 13:10:03 gilles Exp $ */ /* * Copyright (c) 2005 Henning Brauer <henning@bulabula.org> @@ -27,6 +27,7 @@ #include <err.h> #include <event.h> #include <imsg.h> +#include <inttypes.h> #include <pwd.h> #include <signal.h> #include <stdio.h> @@ -283,7 +284,7 @@ enqueue(int argc, char *argv[]) /* add Message-Id */ if (!msg.saw_msgid) - fprintf(fout, "Message-Id: <%llu.enqueue@%s>\n", + fprintf(fout, "Message-Id: <%"PRIu64".enqueue@%s>\n", generate_uid(), host); if (msg.need_linesplit) { |