summaryrefslogtreecommitdiff
path: root/net/dccp/output.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-11-20 12:20:10 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-11-20 12:20:10 (GMT)
commit5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe (patch)
treecf8ebb119403f92df8a296002b9316c9fa38a8a6 /net/dccp/output.c
parenta849854fc7e200d5e5a437dec9c1d0e8b105e50f (diff)
downloadlinux-5ece6c2ddd6f7da9e95dc325c742c0f5afbcecbe.tar.xz
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>
Diffstat (limited to 'net/dccp/output.c')
0 files changed, 0 insertions, 0 deletions