There aren't lastdrive open file handles but a maximum of 20.

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@638 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Bart Oldeman 2003-07-14 19:17:01 +00:00
parent 7f21061003
commit dde7ba7791

View File

@ -250,7 +250,7 @@ STATIC void init_kernel(void)
/* Close all (device) files */
for (i = 0; i < LoL->lastdrive; i++)
for (i = 0; i < 20; i++)
close(i);
/* and do final buffer allocation. */