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

Next file: linux/fs/minix/Makefile
Previous file: linux/fs/lockd/svc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.42/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 %u (should be %lu)\n",
-			len, (unsigned long) sizeof(*f));
+			"lockd: bad fhandle size %x (should be %Zu)\n",
+			len, 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)