diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-07-18 06:12:42 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2009-07-18 06:12:42 +0000 |
commit | 27819236dd4956dda662c2cbe2e3662325a69efa (patch) | |
tree | eacc5112e19cf79d5d3331767984ca363f12e58c | |
parent | 2a7d5e506a787ab82abb0865cbf2da7233cac655 (diff) |
restore -S as toggle;
from Mark Lumsden
ok oga
-rw-r--r-- | usr.bin/top/top.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 */ |