From 063efbfef335107f907b9363e7942053ea32095f Mon Sep 17 00:00:00 2001 From: Kenneth J Davis Date: Thu, 24 Feb 2005 20:35:48 +0000 Subject: [PATCH] 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 --- kernel/ioctl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/ioctl.c b/kernel/ioctl.c index bb9a753..4070eff 100644 --- a/kernel/ioctl.c +++ b/kernel/ioctl.c @@ -229,7 +229,10 @@ COUNT DosDevIOctl(lregs * r) dpbp = get_dpb(CharReqHdr.r_unit); if (dpbp) + { attr = dpbp->dpb_device->dh_attr; + CharReqHdr.r_unit = dpbp->dpb_subunit; + } else if (r->AL != 9) return DE_INVLDDRV;