From 5fa2297ffdb5f3c9e5a57a9d3ddf1e2fba2603e3 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 5 Sep 2004 22:25:36 +0000 Subject: [PATCH] - Returned STATUS_OBJECT_NAME_NOT_FOUND if no directory was found in ObReferenceObjectByName. svn path=/trunk/; revision=10788 --- reactos/ntoskrnl/ob/namespc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/ntoskrnl/ob/namespc.c b/reactos/ntoskrnl/ob/namespc.c index 9552810c366..30e0313f875 100644 --- a/reactos/ntoskrnl/ob/namespc.c +++ b/reactos/ntoskrnl/ob/namespc.c @@ -1,4 +1,4 @@ -/* $Id: namespc.c,v 1.47 2004/08/15 16:39:10 chorns Exp $ +/* $Id: namespc.c,v 1.48 2004/09/05 22:25:36 hbirr Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -77,7 +77,7 @@ CHECKPOINT; DPRINT("Object %p\n", Object); *ObjectPtr = NULL; RtlFreeUnicodeString (&RemainingPath); - return(STATUS_UNSUCCESSFUL); + return(STATUS_OBJECT_NAME_NOT_FOUND); } *ObjectPtr = Object; RtlFreeUnicodeString (&RemainingPath);