X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Fvfs%2Fmain.c;h=cb798c198b7ce632058fa0b79635057ba3788958;hb=e7dd0e094f0c23bb20ddb0025f41d1c0c28f5ab2;hp=1000df06503312e162f9998a1c33d89eaef4fb4b;hpb=7e5607004c3221d55c7992148b2f0d958cf28533;p=tpg%2Facess2.git diff --git a/Kernel/vfs/main.c b/Kernel/vfs/main.c index 1000df06..cb798c19 100644 --- a/Kernel/vfs/main.c +++ b/Kernel/vfs/main.c @@ -52,13 +52,14 @@ int VFS_Init(void) giVFS_DriverFileID = SysFS_RegisterFile("VFS/Drivers", NULL, 0); if( VFS_Mount("root", "/", "rootfs", "") != 0 ) { - Panic("Unable to mount root (Where the **** is rootfs?)"); + Log_KernelPanic("VFS", "Unable to mount root (Where the **** is rootfs?)"); return -1; } VFS_MkDir("/Devices"); VFS_MkDir("/Mount"); VFS_Mount("dev", "/Devices", "devfs", ""); - + + Log_Debug("VFS", "Setting max files"); CFGINT(CFG_VFS_MAXFILES) = 32; return 0; }