Skip to contentSkip to conversation

RPC server socket compile warning fix

PATCH New Michael Buesch 1 participant 1 message Jul 5, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RPC server socket compile warning fix

-----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-----