From 27819236dd4956dda662c2cbe2e3662325a69efa Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Sat, 18 Jul 2009 06:12:42 +0000 Subject: restore -S as toggle; from Mark Lumsden ok oga --- usr.bin/top/top.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/top/top.c') diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c index 6db7345dd5b..1dceaca5ac5 100644 --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -1,4 +1,4 @@ -/* $OpenBSD: top.c,v 1.66 2009/06/04 19:01:30 sthen Exp $ */ +/* $OpenBSD: top.c,v 1.67 2009/07/18 06:12:41 jmc Exp $ */ /* * Top users/processes display for Unix @@ -165,8 +165,8 @@ parseargs(int ac, char **av) } case 'S': /* show system processes */ - ps.system = Yes; - old_system = Yes; + ps.system = !ps.system; + old_system = !old_system; break; case 'T': /* show threads */ -- cgit v1.2.3