From ac9732185139d8cbb95eb5c3178e4f3a40389e53 Mon Sep 17 00:00:00 2001
From: Sami Kerola <kerolasa@iki.fi>
Date: Fri, 2 Nov 2012 17:50:57 +0000
Subject: [PATCH] vmstat: fix compiler warnings

vmstat.c:817:7: warning: declaration of 'tmp' shadows a previous local [-Wshadow]
vmstat.c:708:7: warning: shadowed declaration is here [-Wshadow]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 vmstat.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vmstat.c b/vmstat.c
index c1337662..a2627b8d 100644
--- a/vmstat.c
+++ b/vmstat.c
@@ -816,8 +816,8 @@ int main(int argc, char *argv[])
 		usage(stderr);
 
 	if (moreheaders) {
-		int tmp = winhi() - 3;
-		height = ((tmp > 0) ? tmp : 22);
+		int wheight = winhi() - 3;
+		height = ((wheight > 0) ? wheight : 22);
 	}
 	setlinebuf(stdout);
 	switch (statMode) {
-- 
2.40.0