On Sun, 2017-06-18 at 22:55 -0700, Govindarajulu Varadarajan wrote:
> On Sun, 18 Jun 2017, Joe Perches wrote:
> 
> > Perhaps it'd be better to use a style
> > with a variable length format precision
> > 
> > ie:
> > 
> >     "%.*s-tx-%u", IFNAMSIZ - 4 - <something>, netdev-name, i)
> > 
> 
> This would truncate interface name. Why is this preferred to my patch?

no allocation required, simpler.

Reply via email to