[Nut-upsdev] [nut-commits] svn commit r2274 - trunk/common
Charles Lepple
clepple at gmail.com
Mon Jan 25 13:21:25 UTC 2010
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
More information about the Nut-upsdev
mailing list