From owner-freebsd-bugs Thu Aug 5 21:21: 0 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 7C708155DC for ; Thu, 5 Aug 1999 21:20:57 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA59724; Thu, 5 Aug 1999 21:20:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 5 Aug 1999 21:20:02 -0700 (PDT) Message-Id: <199908060420.VAA59724@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Robert Garrett Subject: Re: bin/4582: integer overflow in 'sa -km' Reply-To: Robert Garrett Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/4582; it has been noted by GNATS. From: Robert Garrett To: freebsd-gnats-submit@freebsd.org, abial@korin.warman.org.pl Cc: Subject: Re: bin/4582: integer overflow in 'sa -km' Date: Fri, 06 Aug 1999 00:14:01 -0400 postfix 681 0.43cpu 9753tio 12126k squid 396 0.02cpu 1956tio 118677k ron 523 69.97cpu 1075tio 43k qt 1875 9.90cpu 6167tio 5424k john 685 22.49cpu 12174tio 2810k vespid 19 0.00cpu 57tio 14708k 2pac 3084 411.14cpu 52272tio 1535k rich 1563 43.65cpu 23461tio 2976k correction theres four lines that need the change 251c251 < printf("%12qu%s", ui->ui_io / ui->ui_calls, "avio"); --- > printf("%12qu%s",(u_quad_t) ( ui->ui_io / ui->ui_calls), "avio"); 253c253 < printf("%12qu%s", ui->ui_io, "tio"); --- > printf("%12qu%s", (u_quad_t) (ui->ui_io), "tio"); 257c257 < printf("%12qu%s", ui->ui_mem / t, "k"); --- > printf("%12qu%s", (u_quad_t) (ui->ui_mem / t), "k"); 259c259 < printf("%12qu%s", ui->ui_mem, "k*sec"); --- > printf("%12qu%s", (u_quad_t) (ui->ui_mem), "k*sec"); rob To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message