Any reason why %4.4x and not %04x?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux