From da43cf1dbf231d9a2cf6a7a7d8ac751d95be5650 Mon Sep 17 00:00:00 2001 From: Hakan Olsson Date: Thu, 6 Jun 2002 02:42:30 +0000 Subject: better format/type --- sbin/isakmpd/message.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/isakmpd') 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? */ -- cgit v1.2.3