mirror of
https://github.com/reactos/reactos.git
synced 2025-05-07 10:46:58 +00:00
[NTVDM]
Properly initialize the CON device file descriptor when copying the system handle table. svn path=/trunk/; revision=67454
This commit is contained in:
parent
aa2b21abbc
commit
0a06865906
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ VOID DosCopyHandleTable(LPBYTE DestinationTable)
|
||||||
{
|
{
|
||||||
PDOS_DEVICE_NODE Node = DosGetDriverNode(SysVars->ActiveCon);
|
PDOS_DEVICE_NODE Node = DosGetDriverNode(SysVars->ActiveCon);
|
||||||
|
|
||||||
Descriptor->DeviceInfo = 1 << 7;
|
Descriptor->DeviceInfo = Node->DeviceAttributes | (1 << 7);
|
||||||
Descriptor->DevicePointer = SysVars->ActiveCon;
|
Descriptor->DevicePointer = SysVars->ActiveCon;
|
||||||
|
|
||||||
/* Call the open routine */
|
/* Call the open routine */
|
||||||
|
|
Loading…
Reference in a new issue