diff options
Diffstat (limited to 'usr.bin/systat/keyboard.c')
-rw-r--r-- | usr.bin/systat/keyboard.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/systat/keyboard.c b/usr.bin/systat/keyboard.c index dc3511cf8d0..03b85760af2 100644 --- a/usr.bin/systat/keyboard.c +++ b/usr.bin/systat/keyboard.c @@ -1,4 +1,4 @@ -/* $OpenBSD: keyboard.c,v 1.18 2006/03/31 04:10:59 deraadt Exp $ */ +/* $OpenBSD: keyboard.c,v 1.19 2007/04/15 16:25:08 matthieu Exp $ */ /* $NetBSD: keyboard.c,v 1.2 1995/01/20 08:51:59 jtc Exp $ */ /*- @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)keyboard.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: keyboard.c,v 1.18 2006/03/31 04:10:59 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: keyboard.c,v 1.19 2007/04/15 16:25:08 matthieu Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -109,6 +109,9 @@ keyboard(void) continue; case ':': break; + case 'q': + gotdie=1; + break; default: continue; } |