From 36c94eae787c356434a7e09a1c0fb070ce32234a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 20 Jul 2006 00:01:50 +0000 Subject: [PATCH] Clarify hexiness of header length --- src/net/ipv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/ipv4.c b/src/net/ipv4.c index 6594af46..7c5a091a 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -107,7 +107,7 @@ void del_ipv4_address ( struct net_device *netdev ) { */ static void ipv4_dump ( struct iphdr *iphdr __unused ) { - DBG ( "IP4 header at %p+%zx\n", iphdr, sizeof ( *iphdr ) ); + DBG ( "IP4 header at %p+%#zx\n", iphdr, sizeof ( *iphdr ) ); DBG ( "\tVersion = %d\n", ( iphdr->verhdrlen & IP_MASK_VER ) / 16 ); DBG ( "\tHeader length = %d\n", iphdr->verhdrlen & IP_MASK_HLEN ); DBG ( "\tService = %d\n", iphdr->service );