Skip to contentSkip to conversation

2.4.19-pre8 (bk) nfsroot.c

PATCH In review James H. Cloos Jr. 2 participants 2 messages May 6, 2002 NFS client

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.19-pre8 (bk) nfsroot.c

Looks like this:

fs/nfs/nfsroot.c Sat May 4 04:29:03 2002 renamed from fs/nfs/nfsroot.c Sun May 5 14:09:00 2002 +2 -2
@@ -343,8 +374,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);
 }

Got missed in the 2.4 bk tree when in_ntoa was replaced by NIPQUAD.

As you can see from the patch, it already is in 2.5.

-JimC

#1 lore raw

From: "James H. Cloos Jr." <[email protected]>
Date: 06 May 2002 16:56:19 -0400

Got missed in the 2.4 bk tree when in_ntoa was replaced by NIPQUAD.

As you can see from the patch, it already is in 2.5.

I already sent Marcelo this fix. Thanks.