diff options
author | joerg <joerg@FreeBSD.org> | 1997-08-24 18:23:21 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-08-24 18:23:21 +0000 |
commit | e309caa011c72381f3760db60667bb985462994f (patch) | |
tree | dcc34adba542e0b2022a4dd4bf7a78cf13728629 /lib/libutil/pw_util.c | |
parent | c632b26058e51afe9373c501203d3e1e4ea9f7e9 (diff) | |
download | FreeBSD-src-e309caa011c72381f3760db60667bb985462994f.zip FreeBSD-src-e309caa011c72381f3760db60667bb985462994f.tar.gz |
Cosmetic: distinguish in diag message between rebuilding and updating
the database.
PR: 3397
Submitted by: taob@risc.org (Brian Tao)
Diffstat (limited to 'lib/libutil/pw_util.c')
-rw-r--r-- | lib/libutil/pw_util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c index 7ebe86e..6283b95 100644 --- a/lib/libutil/pw_util.c +++ b/lib/libutil/pw_util.c @@ -144,12 +144,13 @@ char *username; int pstat; pid_t pid; - warnx("rebuilding the database..."); (void)fflush(stderr); if (!(pid = vfork())) { if(!username) { + warnx("rebuilding the database..."); execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p", tempname, NULL); } else { + warnx("updating the database..."); execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p", "-u", username, tempname, NULL); } |