iproute2/lib
Andreas Henriksson c083d99dd3 iproute2: fix build failure on sparc due to -Wformat and tv_usec
tv_usec is "suseconds_t" which is apparently usually
a signed long, but sometimes not....
Change the printf modifier to use signed and
cast the tv_usec to long in case it's not already long.

gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -O2 -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\" -D_GNU_SOURCE -fPIC   -c -o utils.o utils.c
utils.c: In function 'print_timestamp':
utils.c:802:2: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type '__suseconds_t' [-Werror=format]
cc1: all warnings being treated as errors

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
2013-06-03 19:56:25 -07:00
..
Makefile lib: include the Config file too 2012-12-17 09:13:46 -08:00
dnet_ntop.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
inet_proto.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ipx_ntop.c include needed files 2012-12-23 11:49:06 -08:00
ipx_pton.c include needed files 2012-12-23 11:49:06 -08:00
libgenl.c iproute2: GENL: merge GENL_REQUEST and GENL_INITIALIZER 2012-09-17 15:46:45 -07:00
libnetlink.c libnetlink: Use ifinfomsg instead of rtgenmsg in rtnl_wilddump_req_filter 2013-04-26 16:40:30 -07:00
ll_addr.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ll_map.c ll_map: add name and index hash 2013-03-28 14:57:28 -07:00
ll_proto.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
ll_types.c Update ARP header type table 2010-07-23 13:12:12 -07:00
rt_names.c lib: make string arguments const 2013-02-12 11:39:07 -08:00
utils.c iproute2: fix build failure on sparc due to -Wformat and tv_usec 2013-06-03 19:56:25 -07:00