Date: Mon, 19 Apr 2010 14:34:44 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/top utils.c Message-ID: <201004191434.o3JEYxsb031925@repoman.freebsd.org>
index | next in thread | raw e-mail
nwhitehorn 2010-04-19 14:34:44 UTC
FreeBSD src repository
Modified files:
contrib/top utils.c
Log:
SVN rev 206842 on 2010-04-19 14:34:44Z by nwhitehorn
Fix brokenness in top on big-endian 32-bit systems introduced when
changing format_k2 to take a long long. Because itoa is defined as a K&R
C function, without prototyping its arguments, format_k2 passed a 64-bit
value, but itoa() received only the first word, showing '0' in all memory
fields.
Revision Changes Path
1.6 +1 -1 src/contrib/top/utils.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004191434.o3JEYxsb031925>
