patch-1.3.43 linux/fs/nfs/nfsroot.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/filesystems.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Nov 17 08:40:03 1995
- Orig file:
v1.3.42/linux/fs/nfs/nfsroot.c
- Orig date:
Fri Nov 17 08:42:27 1995
diff -u --recursive --new-file v1.3.42/linux/fs/nfs/nfsroot.c linux/fs/nfs/nfsroot.c
@@ -349,7 +349,7 @@
{ NULL, 0, 0 }};
-unsigned long get_address (char **str)
+static unsigned long get_address (char **str)
{
unsigned long l;
unsigned int val;
@@ -490,7 +490,7 @@
sin=(struct sockaddr_in *)&server_route.rt_genmask;
sin->sin_family=AF_INET;
sin->sin_addr.s_addr= root_dev->pa_mask;
- server_route.rt_dev[0]=0;
+ server_route.rt_dev=NULL;
server_route.rt_flags=RTF_HOST|RTF_UP;
/* Now add a route to the server */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this