--- linux/fs/nfs/nfsroot.c Thu May 23 12:04:17 2002
+++ linux-nfsroot/fs/nfs/nfsroot.c Thu May 23 16:02:29 2002
@@ -343,8 +343,8 @@
{
struct sockaddr_in sin;
- printk(KERN_NOTICE "Looking up port of RPC %d/%d on %s\n",
- program, version, in_ntoa(servaddr));
+ printk(KERN_NOTICE "Looking up port of RPC %d/%d on %u.%u.%u.%u\n",
+ program, version, NIPQUAD(servaddr));
set_sockaddr(&sin, servaddr, 0);
return rpc_getport_external(&sin, program, version, proto);
}
----- Original Message -----
From: "Dan Kegel" <dank@kegel.com>
To: "Kevin P. Fleming" <kevin@labsysgrp.com>; <linux-kernel@vger.kernel.org>
Sent: Thursday, May 23, 2002 03:32 PM
Subject: re: [PATCH] patch for 2.4.19-pre8 nfsroot.c to compile
<snip>
> Er, shouldn't you change the %s to a %d.%d.%d.%d?
> - Dan
>
>
-
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/