diff --git a/ntoskrnl/ob/obname.c b/ntoskrnl/ob/obname.c index e83000a3448..586561cd9b0 100644 --- a/ntoskrnl/ob/obname.c +++ b/ntoskrnl/ob/obname.c @@ -259,7 +259,7 @@ ObpCreateDosDevicesDirectory(VOID) * DosDevices directory \?? , for backward compatibility with * Windows NT-2000 systems. */ - RtlCreateUnicodeString(&LinkName, L"\\DosDevices"); + RtlInitUnicodeString(&LinkName, L"\\DosDevices"); RtlInitUnicodeString(&RootName, (PCWSTR)&ObpDosDevicesShortNameRoot); InitializeObjectAttributes(&ObjectAttributes, &LinkName,