summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2003-07-25 03:45:42 +0000
committerjason <jason@openbsd.org>2003-07-25 03:45:42 +0000
commit619c4588d7ed6aa46c6d8838a42f3d6e86138bef (patch)
tree026a4b9e5abf3d6dd46d3f529535e3e5fb24aca0
parentcast and %lu for size_t variable printf (diff)
downloadwireguard-openbsd-619c4588d7ed6aa46c6d8838a42f3d6e86138bef.tar.xz
wireguard-openbsd-619c4588d7ed6aa46c6d8838a42f3d6e86138bef.zip
%lu for u_long arg
-rw-r--r--sys/net/if_vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c
index 726f897a2c3..fa15a9b4fa0 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vlan.c,v 1.38 2003/05/13 00:55:12 jason Exp $ */
+/* $OpenBSD: if_vlan.c,v 1.39 2003/07/25 03:45:42 jason Exp $ */
/*
* Copyright 1998 Massachusetts Institute of Technology
*
@@ -386,7 +386,7 @@ vlan_config(struct ifvlan *ifv, struct ifnet *p)
*/
ifv->ifv_if.if_mtu = p->if_mtu - EVL_ENCAPLEN;
#ifdef DIAGNOSTIC
- printf("%s: initialized with non-standard mtu %d (parent %s)\n",
+ printf("%s: initialized with non-standard mtu %lu (parent %s)\n",
ifv->ifv_if.if_xname, ifv->ifv_if.if_mtu,
ifv->ifv_p->if_xname);
#endif