Alexey Dobriyan 5ece6c2ddd net: fix tiny output corruption of /proc/net/snmp6
Because "name" is static, it can be occasionally be filled with
somewhat garbage if two processes read /proc/net/snmp6.

Also, remove useless casts and "-1" -- snprintf() correctly terminates it's
output.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-11-20 04:20:10 -08:00
..
2008-10-13 18:54:07 -07:00
2008-11-12 22:59:21 -08:00
2008-11-12 22:59:21 -08:00
2008-06-11 21:00:38 -07:00
2008-08-25 15:18:15 -07:00