patch-2.3.43 linux/net/decnet/dn_route.c

Next file: linux/net/decnet/dn_table.c
Previous file: linux/net/decnet/dn_nsp_in.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/linux/net/decnet/dn_route.c linux/net/decnet/dn_route.c
@@ -1149,9 +1149,9 @@
                 panic("Failed to allocate DECnet route cache hash table\n");
 
 	printk(KERN_INFO 
-		"DECnet: Routing cache hash table of %u buckets, %dKbytes\n", 
+		"DECnet: Routing cache hash table of %u buckets, %ldKbytes\n", 
 		dn_rt_hash_mask, 
-		(dn_rt_hash_mask*sizeof(struct dn_rt_hash_bucket))/1024);
+		(long)(dn_rt_hash_mask*sizeof(struct dn_rt_hash_bucket))/1024);
 
 	dn_rt_hash_mask--;
         for(i = 0; i <= dn_rt_hash_mask; i++) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)