patch-2.4.26 linux-2.4.26/fs/devfs/base.c

Next file: linux-2.4.26/fs/fat/inode.c
Previous file: linux-2.4.26/fs/binfmt_elf.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.25/fs/devfs/base.c linux-2.4.26/fs/devfs/base.c
@@ -3549,7 +3549,7 @@
     int err;
 
     if ( !(boot_options & OPTION_MOUNT) ) return;
-    err = do_mount ("none", "/dev", "devfs", 0, "");
+    err = do_mount ("none", "/dev", "devfs", 0, NULL);
     if (err == 0) printk (KERN_INFO "Mounted devfs on /dev\n");
     else PRINTK ("(): unable to mount devfs, err: %d\n", err);
 }   /*  End Function mount_devfs_fs  */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)