summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/bc/bcwrap/bcwrap.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-11 22:59:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-11 22:59:38 +0000
commite710939a9f27ee399911160e8422f3b8aab211dd (patch)
tree3444edc14416cc7ca85c3464e0b248633f474b4f /gnu/usr.bin/bc/bcwrap/bcwrap.c
parentc8d88a42d6fc17e580bd9eb88754e7528f7577e9 (diff)
fix vfork error report
Diffstat (limited to 'gnu/usr.bin/bc/bcwrap/bcwrap.c')
-rw-r--r--gnu/usr.bin/bc/bcwrap/bcwrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/bc/bcwrap/bcwrap.c b/gnu/usr.bin/bc/bcwrap/bcwrap.c
index e07f3a6e17a..489e2473b16 100644
--- a/gnu/usr.bin/bc/bcwrap/bcwrap.c
+++ b/gnu/usr.bin/bc/bcwrap/bcwrap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcwrap.c,v 1.4 1996/12/16 15:57:16 deraadt Exp $ */
+/* $OpenBSD: bcwrap.c,v 1.5 1997/09/11 22:59:37 deraadt Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt <deraadt@theos.com>
@@ -70,7 +70,7 @@ main(argc, argv)
pid = fork();
switch(pid) {
case -1:
- perror("vfork");
+ perror("fork");
exit(1);
case 0:
dup2(pd[0], 0); /* stdin = pipe */