Author: tfaber
Date: Tue Nov 8 09:40:05 2016
New Revision: 73172
URL:
http://svn.reactos.org/svn/reactos?rev=73172&view=rev
Log:
[USETUP]
- Critical errors are worth a debug print
CORE-11819
Modified:
trunk/reactos/base/setup/usetup/cabinet.c
Modified: trunk/reactos/base/setup/usetup/cabinet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/cabinet.…
==============================================================================
--- trunk/reactos/base/setup/usetup/cabinet.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/cabinet.c [iso-8859-1] Tue Nov 8 09:40:05 2016
@@ -529,7 +529,7 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("Cannot open file (%S) (%x)\n", CabinetName, NtStatus);
+ DPRINT1("Cannot open file (%S) (%x)\n", CabinetName, NtStatus);
return CAB_STATUS_CANNOT_OPEN;
}
@@ -544,7 +544,7 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("NtCreateSection failed: %x\n", NtStatus);
+ DPRINT1("NtCreateSection failed: %x\n", NtStatus);
return CAB_STATUS_NOMEMORY;
}
@@ -562,7 +562,7 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("NtMapViewOfSection failed: %x\n", NtStatus);
+ DPRINT1("NtMapViewOfSection failed: %x\n", NtStatus);
return CAB_STATUS_NOMEMORY;
}
@@ -578,7 +578,7 @@
PCABHeader->FileTableOffset < sizeof(CFHEADER))
{
CloseCabinet();
- DPRINT("File has invalid header\n");
+ DPRINT1("File has invalid header\n");
return CAB_STATUS_INVALID_CAB;
}
@@ -932,13 +932,13 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("NtCreateFile() failed (%S) (%x)\n", DestName,
NtStatus);
+ DPRINT1("NtCreateFile() failed (%S) (%x)\n", DestName,
NtStatus);
return CAB_STATUS_CANNOT_CREATE;
}
}
else
{
- DPRINT("File (%S) exists\n", DestName);
+ DPRINT1("File (%S) exists\n", DestName);
return CAB_STATUS_FILE_EXISTS;
}
}
@@ -954,7 +954,7 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("NtCreateSection failed: %x\n", NtStatus);
+ DPRINT1("NtCreateSection failed: %x\n", NtStatus);
Status = CAB_STATUS_NOMEMORY;
goto CloseDestFile;
}
@@ -972,7 +972,7 @@
if (!NT_SUCCESS(NtStatus))
{
- DPRINT("NtMapViewOfSection failed: %x\n", NtStatus);
+ DPRINT1("NtMapViewOfSection failed: %x\n", NtStatus);
Status = CAB_STATUS_NOMEMORY;
goto CloseDestFileSection;
}
@@ -982,7 +982,7 @@
Search->File->FileTime,
&FileTime))
{
- DPRINT("DosDateTimeToFileTime() failed\n");
+ DPRINT1("DosDateTimeToFileTime() failed\n");
Status = CAB_STATUS_CANNOT_WRITE;
goto UnmapDestFile;
}