On Sunday 08 January 2012 09:25:21 David Wagner wrote: > --- a/tools/mkenvimage.c > +++ b/tools/mkenvimage.c > > +long int xstrtol(char *s)
const > +{ > + long int tmp; > + > + tmp = strtol(s, NULL, 0); > + if (!errno) > + return tmp; you should manually clear errno before calling strtol. it'll set the value, but won't clear it. -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot