from Eric (similar already in dev), set driver request field with subunit number

git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@1115 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
Kenneth J Davis 2005-02-24 20:35:48 +00:00
parent 42c99c7d70
commit 063efbfef3

View File

@ -229,7 +229,10 @@ COUNT DosDevIOctl(lregs * r)
dpbp = get_dpb(CharReqHdr.r_unit); dpbp = get_dpb(CharReqHdr.r_unit);
if (dpbp) if (dpbp)
{
attr = dpbp->dpb_device->dh_attr; attr = dpbp->dpb_device->dh_attr;
CharReqHdr.r_unit = dpbp->dpb_subunit;
}
else if (r->AL != 9) else if (r->AL != 9)
return DE_INVLDDRV; return DE_INVLDDRV;