On Wed, Nov 24, 2010 at 11:11:36PM +0000, Christos Zoulas wrote:
 > >-           (void)snprintf(tmp, sizeof(tmp), "%dd", prec > 9 ? 9 : prec);
 > >+           (void)snprintf(tmp, sizeof(tmp), "%dld", prec > 9 ? 9 : prec);
 > 
 > perhaps %dlld?

Nope, that's the nsecs, which are "long".

I'm sort of inclined to rework the whole thing to make it clearer, but
I'm not sure it'd actually be an improvement.

-- 
David A. Holland
dholl...@netbsd.org

Reply via email to