[NTOS:IO]

- Fix some incredibly useless debug prints

svn path=/trunk/; revision=62584
This commit is contained in:
Thomas Faber 2014-03-30 09:35:50 +00:00
parent ea28c6ea42
commit 3548a3cacb

View file

@ -722,7 +722,7 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
&ObjectAttributes);
if (!NT_SUCCESS(Status))
{
DPRINT("Failed opening given symbolic link!\n");
DPRINT("Failed to open symlink %wZ, Status=%lx\n", NtSystemPartitionDeviceName, Status);
return;
}
@ -742,7 +742,7 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
if (!NT_SUCCESS(Status))
{
DPRINT("Failed querying given symbolic link!\n");
DPRINT("Failed querying symlink %wZ, Status=%lx\n", NtSystemPartitionDeviceName, Status);
return;
}
@ -756,7 +756,7 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
KEY_ALL_ACCESS);
if (!NT_SUCCESS(Status))
{
DPRINT("Failed opening registry!\n");
DPRINT("Failed to open HKLM\SYSTEM, Status=%lx\n", Status);
return;
}
@ -775,7 +775,7 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
if (!NT_SUCCESS(Status))
{
DPRINT("Failed opening/creating Setup key!\n");
DPRINT("Failed opening/creating Setup key, Status=%lx\n", Status);
return;
}
@ -791,7 +791,7 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
LinkTarget.Length + sizeof(WCHAR));
if (!NT_SUCCESS(Status))
{
DPRINT("Failed writing SystemPartition value!\n");
DPRINT("Failed writing SystemPartition value, Status=%lx\n", Status);
}
/* Prepare for second data writing... */
@ -811,10 +811,10 @@ IopStoreSystemPartitionInformation(IN PUNICODE_STRING NtSystemPartitionDeviceNam
0,
REG_SZ,
OsLoaderPathName->Buffer,
OsLoaderPathName->Length + sizeof(WCHAR));
OsLoaderPathName->Length + sizeof(UNICODE_NULL));
if (!NT_SUCCESS(Status))
{
DPRINT("Failed writing OsLoaderPath value!\n");
DPRINT("Failed writing OsLoaderPath value, Status=%lx\n", Status);
}
/* We're finally done! */