Commit 58b68609 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

urlmon/tests: Trace why the test file creation failed.

parent 321ec274
......@@ -3771,7 +3771,7 @@ static void create_file(const char *file_name, const char *content)
file = CreateFileA(file_name, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,
FILE_ATTRIBUTE_NORMAL, NULL);
ok(file != INVALID_HANDLE_VALUE, "CreateFile failed\n");
ok(file != INVALID_HANDLE_VALUE, "CreateFile failed: %lu\n", GetLastError());
if(file == INVALID_HANDLE_VALUE)
return;
......
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