From owner-svn-src-all@freebsd.org Mon Jun 4 05:42:43 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 18F4BFF4FD6; Mon, 4 Jun 2018 05:42:43 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BF8F97381C; Mon, 4 Jun 2018 05:42:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 88E6B113E8; Mon, 4 Jun 2018 05:42:42 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id E50E346D28; Mon, 4 Jun 2018 07:42:40 +0200 (CEST) Date: Mon, 4 Jun 2018 07:42:40 +0200 From: Baptiste Daroussin To: Eitan Adler Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r334557 - head/usr.bin/top Message-ID: <20180604054240.bgzlzftyw2zaxwa4@ivaldir.net> References: <201806031341.w53DfOAD000819@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="47aaiunxce7kltcf" Content-Disposition: inline In-Reply-To: <201806031341.w53DfOAD000819@repo.freebsd.org> User-Agent: NeoMutt/20180323 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 05:42:43 -0000 --47aaiunxce7kltcf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 03, 2018 at 01:41:24PM +0000, Eitan Adler wrote: > Author: eadler > Date: Sun Jun 3 13:41:23 2018 > New Revision: 334557 > URL: https://svnweb.freebsd.org/changeset/base/334557 >=20 > Log: > top(1): restore size for kern.cp_times > =20 > Restore last minute change that broke top(1). >=20 > Modified: > head/usr.bin/top/machine.c >=20 > Modified: head/usr.bin/top/machine.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/usr.bin/top/machine.c Sun Jun 3 13:40:58 2018 (r334556) > +++ head/usr.bin/top/machine.c Sun Jun 3 13:41:23 2018 (r334557) > @@ -384,6 +384,7 @@ machine_init(struct statics *statics) > times =3D calloc(maxcpu * CPUSTATES, sizeof(long)); > if (times =3D=3D NULL) > err(1, "calloc %zu bytes", size); > + size =3D sizeof(long) * maxcpu * CPUSTATES; The error message just above might also be unhappy about the size variable = :) Bapt --47aaiunxce7kltcf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlsU0U4ACgkQY4mL3PG3 Plpq6xAAtIRPO2DilEFq4krvWJE7QNdZv97h3l7c4v5M8KhVSXD07JMRHnXC4NKv wKRhrRpTCIYF111a+1Fy4l6HGove+APmColQGC29eSnreusElHSWvhFXgNP58x9M T7a07/a2w2VJ91uhvQUa4ekfbLUl3maqqovozcms7zNa1eGDvutDPdIvgbSS6z1F vS8XQfa+OD1fL7BBTIG+HnusmDnYRgT3jU9RuKWkI4HMGiFuzqRgpB38PfhNGwsQ qK8bxm5Rkf+kr3FuLwZ0SBR/epN4Y73HLEtebKRtdq33bxQ62UEHGqanV9gJtk7q C5mR29i5fshlCAK+Ie79oo5V3EwsORX/bVFOVp8Invi7V2RPq7tqnN2uEVs7VUP2 xm/zDM41ESO33D73Ncp58lRmKJGJcuLgw8dvpwd2X+JnKfS1yButcre2g9QBdeui dZ2vUsLWXrIv/ydgVoGCh3lt2Bi6mz3e52E6Gh77aBfjjQVwlD2hpiC31Kid/Z7o CcCStBOmPraxna64H++8oYxitRCHz9uiVKpEOpZ5zYf5/OG4t5AXeH8ehPUxFwvY tJYLILQbpyt58PRzhSZmbrEMXl7e9h+ytb+ALPwIbbSsbI6M1iu5uGJZdcfrn+dC gSdFyf8hVfNCx5F2p+QUQphy2XRoPuHnWueWaNpghlfWa91Mli0= =+vS+ -----END PGP SIGNATURE----- --47aaiunxce7kltcf--