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