summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authordsl <dsl@NetBSD.org>2003-05-28 20:17:14 +0000
committerdsl <dsl@NetBSD.org>2003-05-28 20:17:14 +0000
commit31cb6aba03094c13927bb86355b7160da2b7be4c (patch)
tree59161d512bd19826201584a73d6a3976bc9a3943 /usr.bin
parent04413cc928bb4ff9315c6cfd4881fb2210ab57c0 (diff)
Reinstate our STOP handler before curses installs its one.
Ensures that both handlers are executed on subsequent stops.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/systat/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c
index 59ddbe0cd15..3c4f3ac2eda 100644
--- a/usr.bin/systat/main.c
+++ b/usr.bin/systat/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.31 2003/02/10 23:59:48 dsl Exp $ */
+/* $NetBSD: main.c,v 1.32 2003/05/28 20:17:14 dsl Exp $ */
/*-
* Copyright (c) 1980, 1992, 1993
@@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1992, 1993\n\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: main.c,v 1.31 2003/02/10 23:59:48 dsl Exp $");
+__RCSID("$NetBSD: main.c,v 1.32 2003/05/28 20:17:14 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -352,8 +352,8 @@ stop(int signo)
/* stop ourselves */
kill(0, SIGTSTP);
/* must have been restarted */
- redraw(signo);
signal(SIGTSTP, stop);
+ redraw(signo);
}
void