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:
parent
7f21061003
commit
dde7ba7791
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user