X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=utils%2Fstatd%2Fnotify.c;h=d7aa1ddc5e1d712426db9069cfbe15bdf8ab11cc;hb=a503848d423fe1681879936da7b526b15f7eca23;hp=c3b4ca58365416dece3d1c3f3764eb9da7243bfa;hpb=9bea78d8f36cd5ab75d18e32224f0b90a635128c;p=nfs-utils.git diff --git a/utils/statd/notify.c b/utils/statd/notify.c index c3b4ca5..d7aa1dd 100644 --- a/utils/statd/notify.c +++ b/utils/statd/notify.c @@ -10,7 +10,9 @@ * NSM notify list handling. */ -#include "config.h" +#ifdef HAVE_CONFIG_H +#include +#endif #include #include @@ -54,10 +56,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;