summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/sendbug/sendbug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/sendbug/sendbug.c b/usr.bin/sendbug/sendbug.c
index 7b0bf6516ae..6269c00113e 100644
--- a/usr.bin/sendbug/sendbug.c
+++ b/usr.bin/sendbug/sendbug.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sendbug.c,v 1.23 2007/03/26 05:34:30 ray Exp $ */
+/* $OpenBSD: sendbug.c,v 1.24 2007/03/26 05:39:51 ray Exp $ */
/*
* Written by Ray Lai <ray@cyth.net>.
@@ -189,6 +189,7 @@ editit(char *tmpfile)
sleep(1);
goto top;
}
+ errno = saved_errno;
perror("fork");
free(p);
return (-1);