summaryrefslogtreecommitdiff
path: root/sbin/isakmpd
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2002-06-06 02:42:30 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2002-06-06 02:42:30 +0000
commitda43cf1dbf231d9a2cf6a7a7d8ac751d95be5650 (patch)
treea684d13db43d0203c724d448542207bfd928bcb0 /sbin/isakmpd
parentadfadf7517816e04ab1a56fb5ccb9b4091d00288 (diff)
better format/type
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r--sbin/isakmpd/message.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 8661b74322c..9c62768bdc5 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.52 2002/06/06 02:15:27 ho Exp $ */
+/* $OpenBSD: message.c,v 1.53 2002/06/06 02:42:29 ho Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -248,8 +248,8 @@ message_parse_payloads (struct message *msg, struct payload *p, u_int8_t next,
do
{
LOG_DBG ((LOG_MESSAGE, 50,
- "message_parse_payloads: offset %d payload %s",
- buf - (u_int8_t *)msg->iov[0].iov_base,
+ "message_parse_payloads: offset %ld payload %s",
+ (long)(buf - (u_int8_t *)msg->iov[0].iov_base),
constant_name (isakmp_payload_cst, next)));
/* Does this payload's header fit? */