Magellan Linux

Diff of /trunk/mkinitrd-magellan/klibc/usr/kinit/nfsroot.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1121 by niro, Sat Sep 1 22:45:15 2007 UTC revision 1122 by niro, Wed Aug 18 21:11:40 2010 UTC
# Line 6  Line 6 
6  #include <string.h>  #include <string.h>
7  #include <assert.h>  #include <assert.h>
8    
 #include "ipconfig.h"  
9  #include "kinit.h"  #include "kinit.h"
10  #include "netdev.h"  #include "netdev.h"
11  #include "nfsmount.h"  #include "nfsmount.h"
# Line 94  int mount_nfs_root(int argc, char *argv[ Line 93  int mount_nfs_root(int argc, char *argv[
93    
94   nfs_argv[a++] = sub_client(client, root, len);   nfs_argv[a++] = sub_client(client, root, len);
95    
96   DEBUG(("NFS-Root: mounting %s on %s with options \"%s\"\n",   dprintf("NFS-Root: mounting %s on %s with options \"%s\"\n",
97         nfs_argv[a-1], mtpt, opts ? opts : ""));   nfs_argv[a-1], mtpt, opts ? opts : "");
98    
99   nfs_argv[a++] = mtpt;   nfs_argv[a++] = mtpt;
100   nfs_argv[a] = NULL;   nfs_argv[a] = NULL;

Legend:
Removed from v.1121  
changed lines
  Added in v.1122