lkml.org 
[lkml]   [2002]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectre: [PATCH] patch for 2.4.19-pre8 nfsroot.c to compile
> 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/

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