Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83 (MC840302); site mcvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!mcvax!piet From: piet@mcvax.UUCP (Piet Beertema) Newsgroups: net.sources.bugs,net.bugs.uucp Subject: bug in new fio.c Message-ID: <836@mcvax.UUCP> Date: Wed, 9-Oct-85 19:05:57 EDT Article-I.D.: mcvax.836 Posted: Wed Oct 9 19:05:57 1985 Date-Received: Sat, 12-Oct-85 18:19:58 EDT Reply-To: piet@mcvax.UUCP (Piet Beertema) Organization: CWI, Amsterdam Lines: 10 Xref: watmath net.sources.bugs:515 net.bugs.uucp:616 <> In the new fio.c I posted a few days ago there is a bug, which you may never notice if you don't do accounting. Anyway here's the fix: in both calls of sysacct() the second arg should not be t2.time - t1.time, but just t2.time, since t1.time was already subtracted a few lines before. -- Piet Beertema, CWI, Amsterdam (piet@mcvax.UUCP)