patch-2.3.40 linux/fs/lockd/xdr.c

Next file: linux/fs/namei.c
Previous file: linux/fs/lockd/svcsubs.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/fs/lockd/xdr.c linux/fs/lockd/xdr.c
@@ -95,8 +95,8 @@
 
 	if ((len = ntohl(*p++)) != sizeof(*f)) {
 		printk(KERN_NOTICE
-			"lockd: bad fhandle size %x (should be %d)\n",
-			len, sizeof(*f));
+			"lockd: bad fhandle size %u (should be %lu)\n",
+			len, (unsigned long) sizeof(*f));
 		return NULL;
 	}
 	memcpy(f, p, sizeof(*f));

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