From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] stats.c bug In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Wed, 18 Jun 2003 15:57:30 -0600 Topicbox-Message-UUID: cfa325de-eacb-11e9-9e20-41e7f4b1d025 On Wed, 18 Jun 2003, Russ Cox wrote: > umm, what if i leave it running for two weeks? > the numbers would wrap and there will be a single instance where stats would report errors, afterwards it should be back to normal until the next wrap, no? if that's not the case (i.e. if /dev/sysstat reports 'long long'-s) then we should use strtoll()... i don't see the catch, sorry :(