From 7e179dae1f85864c5a2fde9aff53aa8dc0a7878b Mon Sep 17 00:00:00 2001 From: Gregor Anich Date: Sat, 23 Oct 2004 15:17:35 +0000 Subject: [PATCH] Fixed debug build svn path=/trunk/; revision=11400 --- reactos/ntoskrnl/io/device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/io/device.c b/reactos/ntoskrnl/io/device.c index 9d740d95eff..51ab6203374 100644 --- a/reactos/ntoskrnl/io/device.c +++ b/reactos/ntoskrnl/io/device.c @@ -1,4 +1,4 @@ -/* $Id: device.c,v 1.80 2004/10/23 14:48:15 ekohl Exp $ +/* $Id: device.c,v 1.81 2004/10/23 15:17:35 blight Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -36,7 +36,7 @@ IopInitializeDevice( /* This is a Plug and Play driver */ DPRINT("Plug and Play driver found\n"); - ASSERT(DeviceNode->Pdo); + ASSERT(DeviceNode->PhysicalDeviceObject); DPRINT("Calling driver AddDevice entrypoint at %08lx\n", DriverObject->DriverExtension->AddDevice);