On 3/19/18 10:56 AM, Stephen Hemminger wrote: > This fixes new gcc warning about possible string overflow. > > mdb.c: In function ‘__print_router_port_stats’: > mdb.c:61:11: warning: ‘%.2i’ directive output may be truncated writing > between 2 and 7 bytes into a region of size between 0 and 4 > [-Wformat-truncation=] > "%4i.%.2i", (int)tv.tv_sec, > ^~~~ > > Note: already fixed in iproute2-next. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- > bridge/mdb.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Acked-by: David Ahern <dsah...@gmail.com>