mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Any reason why %4.4x and not %04x?
@ 2005-08-25  8:02 Denis Vlasenko
  0 siblings, 0 replies; only message in thread
From: Denis Vlasenko @ 2005-08-25  8:02 UTC (permalink / raw)
  To: linux-kernel

Hi folks,

We have ~2k of printf format specs like this:

"%s: Transmit timed out, status %4.4x, PHY status %4.4x, resetting...\n"

IIRC %04x and %4.4x is totally equivalent. I even tested that
(test program is not here at the moment).

I have patches to save that 2k, if anybody knows about
any subtle differences between %04x and %4.4x please speak up.
--
vda


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-25  8:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-25  8:02 Any reason why %4.4x and not %04x? Denis Vlasenko

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®