diff options
author | 1997-11-24 16:19:42 +0000 | |
---|---|---|
committer | 1997-11-24 16:19:42 +0000 | |
commit | f3d76115014c32e7d51a7b5baa19a5bb76e0b9e0 (patch) | |
tree | 9649a86a5ad1a3b3258426c182e325c57c992238 | |
parent | bye bye secretmail (diff) | |
download | wireguard-openbsd-f3d76115014c32e7d51a7b5baa19a5bb76e0b9e0.tar.xz wireguard-openbsd-f3d76115014c32e7d51a7b5baa19a5bb76e0b9e0.zip |
Deal with the fact that PUTRATE() is a macro that contains braces by
surrounding it with braces after an ``if ()''.
-rw-r--r-- | usr.bin/systat/vmstat.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c index b41eca9f63b..46b611dd889 100644 --- a/usr.bin/systat/vmstat.c +++ b/usr.bin/systat/vmstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmstat.c,v 1.10 1997/11/22 20:07:56 mickey Exp $ */ +/* $OpenBSD: vmstat.c,v 1.11 1997/11/24 16:19:42 kstailey Exp $ */ /* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94"; #endif -static char rcsid[] = "$OpenBSD: vmstat.c,v 1.10 1997/11/22 20:07:56 mickey Exp $"; +static char rcsid[] = "$OpenBSD: vmstat.c,v 1.11 1997/11/24 16:19:42 kstailey Exp $"; #endif /* not lint */ /* @@ -499,8 +499,9 @@ showkre() PUTRATE(Cnt.v_reactivated, VMSTATROW + 13, VMSTATCOL, 9); PUTRATE(Cnt.v_scan, VMSTATROW + 14, VMSTATCOL, 9); PUTRATE(Cnt.v_rev, VMSTATROW + 15, VMSTATCOL, 9); - if (LINES - 1 > VMSTATROW + 16) + if (LINES - 1 > VMSTATROW + 16) { PUTRATE(Cnt.v_intrans, VMSTATROW + 16, VMSTATCOL, 9); + } PUTRATE(Cnt.v_pageins, PAGEROW + 2, PAGECOL + 5, 5); PUTRATE(Cnt.v_pageouts, PAGEROW + 2, PAGECOL + 10, 5); PUTRATE(Cnt.v_swpin, PAGEROW + 2, PAGECOL + 15, 5); /* - */ |