diff --git a/ntoskrnl/ob/obname.c b/ntoskrnl/ob/obname.c index e83000a344..dbf5f4b6bf 100644 --- a/ntoskrnl/ob/obname.c +++ b/ntoskrnl/ob/obname.c @@ -860,7 +860,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)