Date: Thu, 5 Aug 1999 21:20:02 -0700 (PDT) From: Robert Garrett <eagle@phc.igs.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/4582: integer overflow in 'sa -km' Message-ID: <199908060420.VAA59724@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR bin/4582; it has been noted by GNATS.
From: Robert Garrett <eagle@phc.igs.net>
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
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908060420.VAA59724>
