On Jan 25, 2010, at 7:44 AM, Arjen de Korte wrote:

Author: adkorte-guest
Date: Mon Jan 25 12:44:52 2010
New Revision: 2274

Log:
Fix compiler warning on FreeBSD
[...]
+ fprintf(stderr, "%4.0f.%06ld\t", difftime(now.tv_sec, start.tv_sec), now.tv_usec - start.tv_usec);

With the difftime() macro, wouldn't it be possible to just use a single %f (with appropriate field widths)?

I know I need to fix the character encoding issue, but here's the latest from Buildbot on OS X:

http://buildbot.ghz.cc/public/nut/builders/MacOSX-10.5/builds/0/steps/compile/logs/warnings

_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/nut-upsdev

Reply via email to