summaryrefslogtreecommitdiffstats
path: root/sys/net/if_vlan.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-09-16 20:38:33 +0000
committerru <ru@FreeBSD.org>2005-09-16 20:38:33 +0000
commit800ef1986bc2fd194b35a1b5b15cc149c9f70551 (patch)
treec114b042596fc1571e10cad022aa8730c03ff221 /sys/net/if_vlan.c
parent63fab0fe2d627784fac90b843f392304beef139d (diff)
downloadFreeBSD-src-800ef1986bc2fd194b35a1b5b15cc149c9f70551.zip
FreeBSD-src-800ef1986bc2fd194b35a1b5b15cc149c9f70551.tar.gz
The arguments to printf() were swapped.
Diffstat (limited to 'sys/net/if_vlan.c')
-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 81316f2..81ddce8 100644
--- a/sys/net/if_vlan.c
+++ b/sys/net/if_vlan.c
@@ -536,8 +536,8 @@ vlan_start(struct ifnet *ifp)
evl->evl_encap_proto = htons(ETHERTYPE_VLAN);
evl->evl_tag = htons(ifv->ifv_tag);
#ifdef DEBUG
- printf("%s: %*D\n", (int)sizeof(*evl),
- __func__, (unsigned char *)evl, ":");
+ printf("%s: %*D\n", __func__, (int)sizeof(*evl),
+ (unsigned char *)evl, ":");
#endif
}
OpenPOWER on IntegriCloud