summaryrefslogtreecommitdiffstats
path: root/utils/statd/callback.c
diff options
context:
space:
mode:
authorchip <chip>2003-08-22 16:03:04 +0000
committerchip <chip>2003-08-22 16:03:04 +0000
commit430052cab3c8044ef6d1be7b5a5ded13c45d0c40 (patch)
tree48fba66379efdb4d919ca6f42dc50cd7ecfb464c /utils/statd/callback.c
parentf2b24dbab2d61b7ddbab67db5c207b6e703e1f78 (diff)
downloadnfs-utils-430052cab3c8044ef6d1be7b5a5ded13c45d0c40.tar.gz
nfs-utils-430052cab3c8044ef6d1be7b5a5ded13c45d0c40.tar.xz
nfs-utils-430052cab3c8044ef6d1be7b5a5ded13c45d0c40.zip
Rename statd log() to note() to avoid conflict with ISO C.
Diffstat (limited to 'utils/statd/callback.c')
-rw-r--r--utils/statd/callback.c4
1 files changed, 2 insertions, 2 deletions
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);
}