Commit 0a2cfe90 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

ntdll/tests: Use FAILED() instead of not SUCCEEDED().

parent 0afc0d8d
......@@ -2130,7 +2130,7 @@ static void subtest_query_process_debug_port_custom_dacl(int argc, char **argv,
InitializeObjectAttributes(&attr, NULL, 0, NULL, &sd);
status = NtCreateDebugObject(&debug_obj, MAXIMUM_ALLOWED, &attr, DEBUG_KILL_ON_CLOSE);
ok(SUCCEEDED(status), "Failed to create debug object: %#010lx\n", status);
if (!SUCCEEDED(status)) return;
if (FAILED(status)) return;
old_debug_obj = pDbgUiGetThreadDebugObject();
pDbgUiSetThreadDebugObject(debug_obj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment