From f183fc14f7073107d8e6513441719bc637659f5a Mon Sep 17 00:00:00 2001 From: mycroft Date: Sun, 10 Dec 1995 08:26:02 +0000 Subject: [PATCH] If __FORK_BRAINDAMAGE, continue stuffing retval[1] for the benefit of main(). --- sys/kern/kern_fork.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c index 393c0ace4547..1beb55be0145 100644 --- a/sys/kern/kern_fork.c +++ b/sys/kern/kern_fork.c @@ -1,4 +1,4 @@ -/* $NetBSD: kern_fork.c,v 1.26 1995/12/09 04:23:07 mycroft Exp $ */ +/* $NetBSD: kern_fork.c,v 1.27 1995/12/10 08:26:02 mycroft Exp $ */ /* * Copyright (c) 1982, 1986, 1989, 1991, 1993 @@ -250,7 +250,7 @@ again: * may be invalid after vm_fork returns in the child process. */ retval[0] = 0; - retval[1] = 0; + retval[1] = 1; if (vm_fork(p1, p2)) return (0); #else