[PATCH 2.4.21-bk1] RPC server socket compile warning fix

Michael Buesch (fsdeveloper@yahoo.de)
Sat, 5 Jul 2003 20:06:08 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

fixes "Warning: int format, long unsigned int arg (arg 3)"
compiletime warning.

- --- net/sunrpc/svcsock.c.orig 2003-07-05 19:09:49.000000000 +0200
+++ net/sunrpc/svcsock.c 2003-07-05 20:03:10.000000000 +0200
@@ -826,7 +826,7 @@
goto error;
svsk->sk_tcplen += len;
if (len < want) {
- - dprintk("svc: short recvfrom while reading record length (%d of %d)\n",
+ dprintk("svc: short recvfrom while reading record length (%d of %lu)\n",
len, want);
svc_sock_received(svsk);
return -EAGAIN; /* record header not complete */

- --
Regards Michael Buesch
http://www.8ung.at/tuxsoft
19:52:50 up 55 min, 3 users, load average: 1.20, 1.31, 1.21

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD4DBQE/BxOQoxoigfggmSgRAod8AJsEqoJIUp0TTJsbQWrsWY9IQGOAJACYxEx/
+6/mn7yqWXqQda3AtUewyw==
=DzuI
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/