mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Frédéric Weisbecker" <fweisbec@gmail.com>
To: "Arjan van de Ven" <arjan@infradead.org>
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org
Subject: Re: [patch] fix printk format typo in boot ftracer.
Date: Sun, 5 Oct 2008 13:36:02 +0200	[thread overview]
Message-ID: <c62985530810050436v38349e2aw6ceec333f2347571@mail.gmail.com> (raw)
In-Reply-To: <20081004172449.58e53afd@infradead.org>

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!

      parent reply	other threads:[~2008-10-05 11:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-04 20:42 Arjan van de Ven
2008-10-04 20:58 ` Frédéric Weisbecker
2008-10-05  0:24   ` Arjan van de Ven
2008-10-05  9:51     ` Ingo Molnar
2008-10-05 11:36     ` Frédéric Weisbecker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c62985530810050436v38349e2aw6ceec333f2347571@mail.gmail.com \
    --to=fweisbec@gmail.com \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®