diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-11-06 10:12:08 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-11-06 10:12:08 +0000 |
commit | 65d3cf7e6b97615ce69a5bc0815fcdd5f188376e (patch) | |
tree | c90588df0496aef48ba7aa26d16daed5209f5c36 | |
parent | 2a518a9af63ee7fd9ea6425e7f4fc1328768333f (diff) |
fix format string
-rw-r--r-- | usr.sbin/smtpd/filter_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/filter_api.c b/usr.sbin/smtpd/filter_api.c index a4106082611..1344e4cc9b0 100644 --- a/usr.sbin/smtpd/filter_api.c +++ b/usr.sbin/smtpd/filter_api.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter_api.c,v 1.10 2013/10/27 11:01:47 eric Exp $ */ +/* $OpenBSD: filter_api.c,v 1.11 2013/11/06 10:12:07 eric Exp $ */ /* * Copyright (c) 2013 Eric Faurot <eric@openbsd.org> @@ -676,11 +676,11 @@ filter_dispatch_dataline(uint64_t id, const char *data) static void filter_trigger_eom(struct filter_session *s) { - log_debug("debug: filter-api:%s: tx eom (%zu) for %p", filter_name, s->pipe.datalen, s->id); + log_debug("debug: filter-api:%s: tx eom (%zu) for %016"PRIx64, filter_name, s->pipe.datalen, s->id); if (!s->pipe.error && s->pipe.idatalen != s->pipe.datalen) { log_debug("debug: filter-api:%s: tx datalen mismatch: %zu/%zu", - filter_name, s->pipe.idatalen != s->pipe.datalen); + filter_name, s->pipe.idatalen, s->pipe.datalen); s->pipe.error = 1; } if (s->pipe.error) { |