[PATCH] patch for 2.4.19-pre8 nfsroot.c to compile

Kevin P. Fleming (kevin@labsysgrp.com)
Thu, 23 May 2002 12:34:06 -0700


The patch below is required for fs/nfs/nfsroot.c to compile in 2.4.19-pre8:

diff -X dontdiff -urN linux/fs/nfs/nfsroot.c linux-nfsroot/fs/nfs/nfsroot.c
--- linux/fs/nfs/nfsroot.c Thu May 23 12:04:17 2002
+++ linux-nfsroot/fs/nfs/nfsroot.c Thu May 23 12:10:11 2002
@@ -344,7 +344,7 @@
struct sockaddr_in sin;

printk(KERN_NOTICE "Looking up port of RPC %d/%d on %s\n",
- program, version, in_ntoa(servaddr));
+ program, version, NIPQUAD(servaddr));
set_sockaddr(&sin, servaddr, 0);
return rpc_getport_external(&sin, program, version, proto);
}

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