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/callback.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/statd/callback.c') diff --git a/utils/statd/callback.c b/utils/statd/callback.c index c9c686d..0947727 100644 --- a/utils/statd/callback.c +++ b/utils/statd/callback.c @@ -26,14 +26,14 @@ sm_notify_1_svc(struct stat_chge *argp, struct svc_req *rqstp) notify_list *lp, *call; static char *result = NULL; - dprintf(L_DEBUG, "Received SM_NOTIFY from %s, state: %d", + dprintf(N_DEBUG, "Received SM_NOTIFY from %s, state: %d", argp->mon_name, argp->state); /* quick check - don't bother if we're not monitoring anyone */ /* LH - this was != MULL, meaning that if anyone _was_ in our RTNL, * we'd never pass this point. */ if (!(lp = rtnl)) { - log(L_WARNING, "SM_NOTIFY from %s while not monitoring any hosts.", + note(N_WARNING, "SM_NOTIFY from %s while not monitoring any hosts.", argp->mon_name, argp->state); return ((void *) &result); } -- cgit