summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mail/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/popen.c b/usr.bin/mail/popen.c
index 467d24a..3d877fa 100644
--- a/usr.bin/mail/popen.c
+++ b/usr.bin/mail/popen.c
@@ -231,7 +231,7 @@ start_command(cmd, mask, infd, outfd, a0, a1, a2)
{
int pid;
- if ((pid = vfork()) < 0) {
+ if ((pid = fork()) < 0) {
perror("fork");
return -1;
}
OpenPOWER on IntegriCloud