summaryrefslogtreecommitdiff
path: root/lib/libutil/pw_util.c
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>1998-10-13 14:52:33 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>1998-10-13 14:52:33 +0000
commit1fd98d7d880e470809cc3284ef04a03bf3490b02 (patch)
tree2d0429f5c6effd4e4d3c841a030205ca692d3745 /lib/libutil/pw_util.c
parent0ffc35a46540c54dc1537a602e1e4af78282abad (diff)
Notes
Diffstat (limited to 'lib/libutil/pw_util.c')
-rw-r--r--lib/libutil/pw_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libutil/pw_util.c b/lib/libutil/pw_util.c
index b6f6719b08b8..d005d1610696 100644
--- a/lib/libutil/pw_util.c
+++ b/lib/libutil/pw_util.c
@@ -36,7 +36,7 @@
static const char sccsid[] = "@(#)pw_util.c 8.3 (Berkeley) 4/2/94";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: pw_util.c,v 1.9 1997/10/27 07:53:19 charnier Exp $";
#endif /* not lint */
/*
@@ -148,7 +148,7 @@ char *username;
pid_t pid;
(void)fflush(stderr);
- if (!(pid = vfork())) {
+ if (!(pid = fork())) {
if(!username) {
warnx("rebuilding the database...");
execl(_PATH_PWD_MKDB, "pwd_mkdb", "-p", tempname, NULL);
@@ -180,7 +180,7 @@ pw_edit(notsetuid)
else
p = editor;
- if (!(editpid = vfork())) {
+ if (!(editpid = fork())) {
if (notsetuid) {
(void)setgid(getgid());
(void)setuid(getuid());