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

Dan Kegel (dank@kegel.com)
Thu, 23 May 2002 15:32:47 -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);
> }

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/