From e74e9032daf8a4b89044d4d60334cd94401c6d72 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Mon, 29 Oct 2001 02:22:49 +0000 Subject: [PATCH] log routine called w/ %ld and int argument, cast argument to long --- sys/netgraph/ng_cisco.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netgraph/ng_cisco.c b/sys/netgraph/ng_cisco.c index 1eb4a1556f4..bf4c9b47333 100644 --- a/sys/netgraph/ng_cisco.c +++ b/sys/netgraph/ng_cisco.c @@ -472,7 +472,7 @@ cisco_input(sc_p sc, item_p item) default: log(LOG_WARNING, "cisco: unknown cisco packet type: 0x%lx\n", - ntohl(p->type)); + (long)ntohl(p->type)); break; case CISCO_ADDR_REPLY: /* Reply on address request, ignore */