summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authordillon <dillon@FreeBSD.org>2001-10-29 02:22:49 +0000
committerdillon <dillon@FreeBSD.org>2001-10-29 02:22:49 +0000
commite167c75ed7d822a4c4fd1f323a4ad16229e15a81 (patch)
tree44fb3f00783beba52e6bc624e4554dbe5179a3c7 /sys/netgraph
parent981dfd6cd99236b6e8e4441be52bbb839739f838 (diff)
downloadFreeBSD-src-e167c75ed7d822a4c4fd1f323a4ad16229e15a81.zip
FreeBSD-src-e167c75ed7d822a4c4fd1f323a4ad16229e15a81.tar.gz
log routine called w/ %ld and int argument, cast argument to long
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_cisco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/ng_cisco.c b/sys/netgraph/ng_cisco.c
index 1eb4a15..bf4c9b4 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 */
OpenPOWER on IntegriCloud