Log when we call yp_all.
authorChristos Zoulas <christos@zoulas.com>
Thu, 15 Sep 2011 21:18:45 +0000 (17:18 -0400)
committerChristos Zoulas <christos@zoulas.com>
Thu, 15 Sep 2011 21:18:45 +0000 (17:18 -0400)
amd/info_nis.c

index 1fcb05b983e1d739d528752be9d4b2fe27977509..befd02370aacc4a3d9ed068346bd0ba4e613658b 100644 (file)
@@ -168,6 +168,7 @@ nis_reload(mnt_map *m, char *map, void (*fn) (mnt_map *, char *, char *))
   cbinfo.data = (voidp) &data;
   cbinfo.foreach = (ypall_callback_fxn_t) callback;
 
+  plog(XLOG_INFO, "NIS map %s reloading using yp_all", map);
   /*
    * If you are using NIS and your yp_all function is "broken", you have to
    * get it fixed.  The bug in yp_all() is that it does not close a TCP