diff options
author | chip <chip> | 2003-08-22 16:03:04 +0000 |
---|---|---|
committer | chip <chip> | 2003-08-22 16:03:04 +0000 |
commit | 430052cab3c8044ef6d1be7b5a5ded13c45d0c40 (patch) | |
tree | 48fba66379efdb4d919ca6f42dc50cd7ecfb464c /utils/statd/stat.c | |
parent | f2b24dbab2d61b7ddbab67db5c207b6e703e1f78 (diff) | |
download | nfs-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/stat.c')
-rw-r--r-- | utils/statd/stat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/statd/stat.c b/utils/statd/stat.c index 021e786..7d9d1b1 100644 --- a/utils/statd/stat.c +++ b/utils/statd/stat.c @@ -25,12 +25,12 @@ sm_stat_1_svc (struct sm_name *argp, struct svc_req *rqstp) static sm_stat_res result; if (gethostbyname (argp->mon_name) == NULL) { - log (L_WARNING, "gethostbyname error for %s", argp->mon_name); + note (N_WARNING, "gethostbyname error for %s", argp->mon_name); result.res_stat = STAT_FAIL; - dprintf (L_DEBUG, "STAT_FAIL for %s", argp->mon_name); + dprintf (N_DEBUG, "STAT_FAIL for %s", argp->mon_name); } else { result.res_stat = STAT_SUCC; - dprintf (L_DEBUG, "STAT_SUCC for %s", argp->mon_name); + dprintf (N_DEBUG, "STAT_SUCC for %s", argp->mon_name); } result.state = MY_STATE; return(&result); |