diff --git a/ntoskrnl/ob/obname.c b/ntoskrnl/ob/obname.c index e83000a344..5f6b6736ca 100644 --- a/ntoskrnl/ob/obname.c +++ b/ntoskrnl/ob/obname.c @@ -15,6 +15,8 @@ #define NDEBUG #include +#define STATUS_OBJECT_NAME_INVALID ((NTSTATUS)0xC0000033) + BOOLEAN ObpCaseInsensitive = TRUE; POBJECT_DIRECTORY ObpRootDirectoryObject; POBJECT_DIRECTORY ObpTypeDirectoryObject; @@ -860,7 +862,7 @@ ParseFromRoot: if (RemainingName.Length) { /* Then tell the caller the path wasn't found */ - Status = STATUS_OBJECT_PATH_NOT_FOUND; + Status = STATUS_OBJECT_NAME_INVALID; break; } else if (!InsertObject)