log fixups

This commit is contained in:
Doug MacEachern 2005-10-03 16:26:56 +00:00
parent 3974333f06
commit 5f8fece190
2 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -1549,7 +1549,7 @@ 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");
#if !defined(WIN32) && !defined(NETWARE)