* ldap.cc (rediscover_thread): Give argument a useful name.

* miscfuncs.cc (NT_readline::init): It's a really bad idea trying to
	print a pointer to a PUNICODE_STRING as PUNICODE_STRING.  Fix it.
	* uinfo.cc (cygheap_domain_info::init): Print status codes as hex
	values in debug output.
This commit is contained in:
Corinna Vinschen
2014-02-11 17:45:09 +00:00
parent 7fa5cbbfcd
commit f8efc42f66
4 changed files with 14 additions and 6 deletions

View File

@ -726,7 +726,7 @@ cygheap_domain_info::init ()
(PVOID *) &pdom);
if (status != STATUS_SUCCESS)
{
system_printf ("LsaQueryInformationPolicy(Primary) %u", status);
system_printf ("LsaQueryInformationPolicy(Primary) %y", status);
return false;
}
/* Copy primary domain info to cygheap. */
@ -740,7 +740,7 @@ cygheap_domain_info::init ()
(PVOID *) &adom);
if (status != STATUS_SUCCESS)
{
system_printf ("LsaQueryInformationPolicy(Account) %u", status);
system_printf ("LsaQueryInformationPolicy(Account) %y", status);
return false;
}
/* Copy account domain info to cygheap. If we're running on a DC the account