summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-04-23 22:25:20 +0000
committerache <ache@FreeBSD.org>1997-04-23 22:25:20 +0000
commitbb67f32a94668877b2e5a0b50ae4592145af4454 (patch)
treed2da883eccb2dbd77408a7bcb13c461458ea6bc8 /usr.bin
parente027b68ed88ee6668bea9895f1950a1cec3ffc9f (diff)
downloadFreeBSD-src-bb67f32a94668877b2e5a0b50ae4592145af4454.zip
FreeBSD-src-bb67f32a94668877b2e5a0b50ae4592145af4454.tar.gz
Replace vfork() by fork(), vfork() usage is totally bogus in this context.
This program don't bother to do even minimal vfork() support as per vfork(2) manpage required.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/vacation/vacation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vacation/vacation.c b/usr.bin/vacation/vacation.c
index 4de8870..fa8b591 100644
--- a/usr.bin/vacation/vacation.c
+++ b/usr.bin/vacation/vacation.c
@@ -40,7 +40,7 @@ static char copyright[] =
#ifndef lint
static char sccsid[] = "From: @(#)vacation.c 8.2 (Berkeley) 1/26/94";
static char rcsid[] =
- "$Id: vacation.c,v 1.5 1997/02/22 19:57:39 peter Exp $";
+ "$Id: vacation.c,v 1.6 1997/03/29 04:33:44 imp Exp $";
#endif /* not lint */
/*
@@ -415,7 +415,7 @@ sendmessage(myname)
syslog(LOG_ERR, "vacation: pipe: %s", strerror(errno));
exit(1);
}
- i = vfork();
+ i = fork();
if (i < 0) {
syslog(LOG_ERR, "vacation: fork: %s", strerror(errno));
exit(1);
OpenPOWER on IntegriCloud