lkml.org 
[lkml]   [2002]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 2.4.19-pre8 fs/nfs/nfsroot.c - in_ntoa
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);
}
-
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.286 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site