lkml.org 
[lkml]   [2008]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] fix printk format typo in boot ftracer.
2008/10/5 Arjan van de Ven <arjan@infradead.org>:
> it's more than precision, it's correctness.
>
> doing "0.%02i" will do
> 0.100 if you pass it 100 and
> 0.10 if you pass it 10
>
> and most off the time, except the first 0.1 seconds, you'll be passing
> it 9 digits, but the first 0.1 seconds.. the %06 will just give really
> incorrect results.

That's right indeed.

Thanks!


\
 
 \ /
  Last update: 2008-10-05 13:39    [W:0.034 / U:1.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site