[USETUP]
authorThomas Faber <thomas.faber@reactos.org>
Mon, 14 Aug 2017 16:01:46 +0000 (16:01 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Mon, 14 Aug 2017 16:01:46 +0000 (16:01 +0000)
- Include some actually useful information when printing errors

svn path=/trunk/; revision=75536

reactos/base/setup/usetup/cabinet.c

index 332f07b..326d493 100644 (file)
@@ -544,7 +544,7 @@ CabinetOpen(VOID)
 
         if (!NT_SUCCESS(NtStatus))
         {
-            DPRINT1("NtCreateSection failed: %x\n", NtStatus);
+            DPRINT1("NtCreateSection failed for %ls: %x\n", CabinetName, NtStatus);
             return CAB_STATUS_NOMEMORY;
         }
 
@@ -954,7 +954,7 @@ CabinetExtractFile(PCAB_SEARCH Search)
 
     if (!NT_SUCCESS(NtStatus))
     {
-        DPRINT1("NtCreateSection failed: %x\n", NtStatus);
+        DPRINT1("NtCreateSection failed for %ls, %x\n", DestName, NtStatus);
         Status = CAB_STATUS_NOMEMORY;
         goto CloseDestFile;
     }