[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] rrd and do_disk.c: 32 bit limit reached



How about using "strtoll()" then?


Dominique
UNIL - University of Lausanne

Henrik Stoerner wrote:
On Tue, Apr 01, 2008 at 06:10:42PM +0200, Dominique Frise wrote:
Using "disk1" graphs for the trends column, we noticed that file systems above 2 TB of used space did not show up.

The problem comes from the hobbitd/rrd/do_disk.c. The "long long aused" variable is properly defined but the value affectation should use "atoll" (el el) function and not "atoi".

Unfortunately, "atoll()" does not exist in several popular Unix
variants....


Regards,
Henrik


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe (at) hswn.dk