diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index 08ec9c6..9a70264 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -600,7 +600,7 @@ static void test_debugger(void)
         return;
     }
 
-    sprintf(cmdline, "%s %s %s", my_argv[0], my_argv[1], "debuggee");
+    sprintf(cmdline, "%s %s %s", my_argv[0], "tests/exception.c", "debuggee");
     ok(CreateProcess(NULL, cmdline, NULL, NULL, FALSE, DEBUG_PROCESS, NULL, NULL,
                      &si, &pi) != 0, "error: %u\n", GetLastError());
 
