Date: Thu, 9 Feb 2012 15:23:39 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r231280 - stable/9/usr.bin/systat Message-ID: <201202091523.q19FNdZJ007052@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Thu Feb 9 15:23:39 2012 New Revision: 231280 URL: http://svn.freebsd.org/changeset/base/231280 Log: MFC r226424: Use integer to store the result of getch(). We need to use an integer to make the comparison against ERR work. Modified: stable/9/usr.bin/systat/keyboard.c Directory Properties: stable/9/usr.bin/systat/ (props changed) Modified: stable/9/usr.bin/systat/keyboard.c ============================================================================== --- stable/9/usr.bin/systat/keyboard.c Thu Feb 9 15:21:54 2012 (r231279) +++ stable/9/usr.bin/systat/keyboard.c Thu Feb 9 15:23:39 2012 (r231280) @@ -47,8 +47,8 @@ static const char sccsid[] = "@(#)keyboa int keyboard(void) { - char ch, line[80]; - int oldmask; + char line[80]; + int ch, oldmask; for (;;) { col = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202091523.q19FNdZJ007052>