From 5f8fece190e928dd797097ca9428c56a6dcd2712 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 3 Oct 2005 16:26:56 +0000 Subject: [PATCH] log fixups --- src/os/win32/win32_sigar.c | 4 ++-- src/sigar.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/os/win32/win32_sigar.c b/src/os/win32/win32_sigar.c index df42d6ee..800e9938 100644 --- a/src/os/win32/win32_sigar.c +++ b/src/os/win32/win32_sigar.c @@ -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; } diff --git a/src/sigar.c b/src/sigar.c index 0f811c08..57c0c0ce 100644 --- a/src/sigar.c +++ b/src/sigar.c @@ -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 */