Fixed traces.

This commit is contained in:
Detlef Riekenberg 2005-07-10 17:44:37 +00:00 committed by Alexandre Julliard
parent e53aad96e8
commit 8eb811bf97
1 changed files with 2 additions and 4 deletions

View File

@ -116,7 +116,7 @@ NTSTATUS WINAPI RtlQueryEnvironmentVariable_U(PWSTR env,
PCWSTR var; PCWSTR var;
unsigned namelen; unsigned namelen;
TRACE("%s %s %p\n", debugstr_w(env), debugstr_w(name->Buffer), value); TRACE("%p %s %p\n", env, debugstr_us(name), value);
value->Length = 0; value->Length = 0;
namelen = name->Length / sizeof(WCHAR); namelen = name->Length / sizeof(WCHAR);
@ -175,9 +175,7 @@ NTSTATUS WINAPI RtlSetEnvironmentVariable(PWSTR* penv, PUNICODE_STRING name,
NTSTATUS nts = STATUS_VARIABLE_NOT_FOUND; NTSTATUS nts = STATUS_VARIABLE_NOT_FOUND;
MEMORY_BASIC_INFORMATION mbi; MEMORY_BASIC_INFORMATION mbi;
TRACE("(%p,%s,%s)\n", TRACE("(%p, %s, %s)\n", penv, debugstr_us(name), debugstr_us(value));
penv, debugstr_w(name->Buffer),
value ? debugstr_w(value->Buffer) : "--nil--");
if (!name || !name->Buffer || !name->Length) if (!name || !name->Buffer || !name->Length)
return STATUS_INVALID_PARAMETER_1; return STATUS_INVALID_PARAMETER_1;