public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa
@ 2002-05-30 12:04 Peter Wächtler
  2002-05-30 11:52 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Wächtler @ 2002-05-30 12:04 UTC (permalink / raw)
  To: linux-kernel

Somehow a call to in_ntoa went into the kernel.
With that you can't linke the kernel, when CONFIG_ROOT_NFS=y
is on.



fs/fs.o: In function `root_nfs_getport':
fs/fs.o(.text.init+0x10e1): undefined reference to `in_ntoa'
make: *** [vmlinux] Fehler 1



--- fs/nfs/nfsroot.c.orig       Thu May 30 13:58:30 2002
+++ fs/nfs/nfsroot.c    Thu May 30 13:59:01 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 0x%X\n",
+               program, version, servaddr);
         set_sockaddr(&sin, servaddr, 0);
         return rpc_getport_external(&sin, program, version, proto);
  }


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-30 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-30 12:04 [PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa Peter Wächtler
2002-05-30 11:52 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox