Hi Mike, On Tue, Oct 25, 2011 at 3:49 PM, Mike Frysinger <vap...@gentoo.org> wrote: > On Tue, Oct 25, 2011 at 18:41, Simon Glass wrote: >> On Tue, Oct 25, 2011 at 3:08 PM, Mike Frysinger wrote: >>> On Tue, Oct 25, 2011 at 18:01, Wolfgang Denk wrote: >>>> Simon Glass wrote: >>>>> isn't it intended that env variables without a leading 0x in the value >>>>> be interpreted as hex still? Iwc do I really want the 0x? >>>> >>>> Yes, this is intended. No, we do NOT want to see the 0x in such >>>> cases. >>> >>> ok, so we'll want to stick with %x like you already have Simon. i >>> disagree, but not enough to fight over it ;). >> >> OK. But I can use %p if you don't send your patch. How about %#p to >> display 0x? It would be incompatible with glibc, but seems more >> sensible. Then we could use this in quite a few places in U-Boot I >> suspect. > > i think wolfgang's point is that he doesn't want "0x" in env vars. i > don't think he made any statement about %p in general.
Yes I got that. > > also, %#p works the same under u-boot as under glibc. it's just that > %#p generates a gcc warning. > -mike > No I meant that for me glibc displays 0x whether or not I put # in there...seems wrong to me. Regards, Simon _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot