]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - utils/statd/stat.c
Rename statd log() to note() to avoid conflict with ISO C.
[nfs-utils.git] / utils / statd / stat.c
index 021e78685846c31120f9402897fb894c083f3807..7d9d1b1a44060343a1d554bc473567d95e809bf7 100644 (file)
@@ -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);