log fixups
This commit is contained in:
parent
3974333f06
commit
5f8fece190
|
@ -99,8 +99,8 @@ static FARPROC sigar_GetProcAddress(sigar_t *sigar,
|
|||
|
||||
if (!hModule) {
|
||||
sigar_log_printf(sigar, SIGAR_LOG_DEBUG,
|
||||
"GetProcAddress(%s): %s\n",
|
||||
lpProcName, "No module handle");
|
||||
"GetProcAddress(%s): No module handle",
|
||||
lpProcName);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
@ -1549,8 +1549,8 @@ SIGAR_DECLARE(int) sigar_fqdn_get(sigar_t *sigar, char *name, int namelen)
|
|||
}
|
||||
}
|
||||
|
||||
sigar_log_printf(sigar, SIGAR_LOG_DEBUG,
|
||||
"[fqdn] unresolved using gethostbyname.h_addr_list");
|
||||
sigar_log(sigar, SIGAR_LOG_DEBUG,
|
||||
"[fqdn] unresolved using gethostbyname.h_addr_list");
|
||||
|
||||
#if !defined(WIN32) && !defined(NETWARE)
|
||||
if (!IS_FQDN(name) && /* e.g. aix gethostname is already fqdn */
|
||||
|
|
Loading…
Reference in New Issue