From a3260d36824b74f58edb13748ccf765f23a3eb05 Mon Sep 17 00:00:00 2001 From: Robert Spalek Date: Thu, 21 Jun 2007 18:39:27 -0700 Subject: [PATCH] lib: convert log->msg in Darwin-#ifdef'ed code --- lib/qache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/qache.c b/lib/qache.c index 095925df..854a12df 100644 --- a/lib/qache.c +++ b/lib/qache.c @@ -86,7 +86,7 @@ qache_msync(struct qache *q UNUSED, uns start UNUSED, uns len UNUSED) start -= start % CPU_PAGE_SIZE; len = ALIGN_TO(len, CPU_PAGE_SIZE); if (msync(q->mmap_data + start, len, MS_ASYNC | MS_INVALIDATE) < 0) - log(L_ERROR, "Cache %s: msync failed: %m", q->file_name); + msg(L_ERROR, "Cache %s: msync failed: %m", q->file_name); #endif } @@ -777,7 +777,7 @@ int main(int argc UNUSED, char **argv UNUSED) found++; } } - log(L_INFO, "Found %d of %d entries", found, N); + msg(L_INFO, "Found %d of %d entries", found, N); qache_close(q, 1); return 0; -- 2.39.2