summaryrefslogtreecommitdiffstats
path: root/pw/pw_nis.c
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pw_nis.c')
-rw-r--r--pw/pw_nis.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pw/pw_nis.c b/pw/pw_nis.c
index 918fc30..6cc361b 100644
--- a/pw/pw_nis.c
+++ b/pw/pw_nis.c
@@ -29,10 +29,8 @@ static const char rcsid[] =
"$FreeBSD$";
#endif /* not lint */
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <sys/types.h>
+
#include <err.h>
#include <pwd.h>
#include <libutil.h>
@@ -46,6 +44,7 @@ pw_nisupdate(const char * path, struct passwd * pwd, char const * user)
struct passwd *pw = NULL;
struct passwd *old_pw = NULL;
+ printf("===> %s\n", path);
if (pwd != NULL)
pw = pw_dup(pwd);