Re: undefined reference to `in_ntoa'

From: David S. Miller (davem@redhat.com)
Date: Fri May 03 2002 - 20:48:41 EST


   From: "J.A. Magallon" <jamagallon@able.es>
   Date: Sat, 4 May 2002 03:56:55 +0200

   
   It is only used in fs/nfs/nfsroot.c, and never defined (grep -r just shows that).

I've sent Marcelo the following fix for this already.
Sorry about that.

--- fs/nfs/nfsroot.c.~2~ Fri May 3 13:56:10 2002
+++ fs/nfs/nfsroot.c Fri May 3 13:56:30 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);
 }
-
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/



This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:22 EST