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