- Fix the stupid mess we created when making this from the cmake branch
[reactos.git] / subsystems / win32 / csrss / win32csr / console.c
index 99a622b..f74cd28 100644 (file)
@@ -286,7 +286,7 @@ CSR_API(CsrAllocConsole)
                          FALSE,
                          0))
     {
-        DPRINT1("DuplicateHandle() failed: %d\n", GetLastError);
+        DPRINT1("DuplicateHandle() failed: %lu\n", GetLastError());
         ConioDeleteConsole((Object_t *) Console);
         if (NewConsole || !ProcessData->bInheritHandles)
         {