On Wed, Jan 28, 2009 at 09:43:31PM -0800, Ben Warren wrote:
> Mike Frysinger wrote:
> > +   if (ethaddr == NULL) {
> > +           char nid[20];
> > +           board_get_enetaddr(bd->bi_enetaddr);
> > +           sprintf(nid, "%02X:%02X:%02X:%02X:%02X:%02X",
> >   
> How about snprintf()

Doesn't exist in u-boot, unfortunately.

-Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to