From e710939a9f27ee399911160e8422f3b8aab211dd Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 11 Sep 1997 22:59:38 +0000 Subject: fix vfork error report --- gnu/usr.bin/bc/bcwrap/bcwrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/usr.bin/bc') 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 @@ -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 */ -- cgit v1.2.3