diff --git a/kernel/dosfns.c b/kernel/dosfns.c index e75f75c..06d7700 100644 --- a/kernel/dosfns.c +++ b/kernel/dosfns.c @@ -759,6 +759,7 @@ UWORD DosGetFree(UBYTE drive, UWORD * navc, UWORD * bps, UWORD * nc) if (cdsp == NULL) return spc; + current_ldt = cdsp; if (cdsp->cdsFlags & CDSNETWDRV) { if (remote_getfree(cdsp, rg) != SUCCESS)