Date: Thu, 22 Apr 2010 14:11:59 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/top utils.c Message-ID: <201004221412.o3MECjFK019582@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-04-22 14:11:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) contrib/top utils.c Log: SVN rev 207064 on 2010-04-22 14:11:59Z by nwhitehorn MFC r206842: 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.4.36.3 +1 -1 src/contrib/top/utils.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004221412.o3MECjFK019582>