lkml.org 
[lkml]   [2003]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2.4.21-bk1] RPC server socket compile warning fix
Date
-----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/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.019 / U:3.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site