diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c index c4732626442..58e4a4bc9d6 100644 --- a/dlls/ntdll/tests/file.c +++ b/dlls/ntdll/tests/file.c @@ -840,8 +840,8 @@ static void append_file_test(void) U(iosb).Status = STATUS_PENDING; iosb.Information = 0; - status = NtWriteFile(handle, NULL, NULL, NULL, &iosb, - text, sizeof(text), NULL, NULL); + status = pNtWriteFile(handle, NULL, NULL, NULL, &iosb, + text, sizeof(text), NULL, NULL); if (status == STATUS_PENDING) {