]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
netfilter: Fix format string of nfnetlink_log proc file
authorRichard Weinberger <richard@nod.at>
Sun, 12 Apr 2015 22:52:39 +0000 (00:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2015 20:35:17 +0000 (16:35 -0400)
commit20a1d16526b79c76cd45e29cb637aec1d43c41de
treef0120a36add7c93940320cc755838a5462726340
parent6b46f7b7e97e58a23fd96c3bfc1efee9da3d1a3d
netfilter: Fix format string of nfnetlink_log proc file

The printed values are all of type unsigned integer, therefore use
%u instead of %d. Otherwise an user can face negative values.

Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nfnetlink_log.c