Re: [Etherboot-developers] Q: Non-Standard printf?
Brought to you by:
marty_connor,
stefanhajnoczi
From: <ke...@us...> - 2002-07-26 01:07:39
|
>I'm trying to understand why the printf in etherboot is non-standard. >If this is just something that happened or if this that has a good reason >behind it. >As I share code between projects my biggest bug is that code like: >printf("%04x\n", foo); >Fails and I get really strange debugging output. You mean it doesn't pay attention to the width specifier? That was never implemented, for space reasons. If you want to have better compatibility without using up much code space you could get the printf to ignore the width specifier. |