From 430052cab3c8044ef6d1be7b5a5ded13c45d0c40 Mon Sep 17 00:00:00 2001 From: chip Date: Fri, 22 Aug 2003 16:03:04 +0000 Subject: Rename statd log() to note() to avoid conflict with ISO C. --- utils/statd/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/statd/notify.c') diff --git a/utils/statd/notify.c b/utils/statd/notify.c index c3b4ca5..ffe2da6 100644 --- a/utils/statd/notify.c +++ b/utils/statd/notify.c @@ -54,10 +54,10 @@ notify_hosts(void) || matchhostname(de->d_name, "localhost")) { char *fname; fname=xmalloc(strlen(SM_BAK_DIR)+sizeof(de->d_name)+2); - dprintf(L_DEBUG, "We're on our own notify list?!?"); + dprintf(N_DEBUG, "We're on our own notify list?!?"); sprintf(fname, "%s/%s", SM_BAK_DIR, de->d_name); if (unlink(fname)) - log(L_ERROR, "unlink(%s): %s", + note(N_ERROR, "unlink(%s): %s", fname, strerror(errno)); free(fname); continue; -- cgit