summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-01-04 16:22:20 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-01-04 16:22:20 +0000
commitc0e25c2602bda2cac619f9d2c1ba2ce564964e64 (patch)
tree7637ec3fa0f8e592501a0e3dbfae02701d76e55a
parentd976407b65a903ac16903e13fe307b7c1684aaac (diff)
Don't longjmp(..., 0)
-rw-r--r--usr.bin/msgs/msgs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/msgs/msgs.c b/usr.bin/msgs/msgs.c
index 0c759eacd8a..1895a727358 100644
--- a/usr.bin/msgs/msgs.c
+++ b/usr.bin/msgs/msgs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msgs.c,v 1.19 2001/11/19 19:02:15 mpech Exp $ */
+/* $OpenBSD: msgs.c,v 1.20 2002/01/04 16:22:19 art Exp $ */
/* $NetBSD: msgs.c,v 1.7 1995/09/28 06:57:40 tls Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)msgs.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: msgs.c,v 1.19 2001/11/19 19:02:15 mpech Exp $";
+static char rcsid[] = "$OpenBSD: msgs.c,v 1.20 2002/01/04 16:22:19 art Exp $";
#endif
#endif /* not lint */
@@ -723,7 +723,7 @@ onsusp(unused)
kill(0, SIGTSTP);
signal(SIGTSTP, onsusp);
if (!mailing)
- longjmp(tstpbuf, 0);
+ longjmp(tstpbuf, 1);
}
int