projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b416499
)
[NETFILTER]: nf_log: add netfilter gcc printf format checking
author
Helge Deller
<deller@gmx.de>
Thu, 31 Jan 2008 11:58:56 +0000
(
03:58
-0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Feb 2008 03:27:32 +0000
(19:27 -0800)
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_log.h
patch
|
blob
|
history
diff --git
a/include/net/netfilter/nf_log.h
b/include/net/netfilter/nf_log.h
index
037e824
..
8c6b5ae
100644
(file)
--- a/
include/net/netfilter/nf_log.h
+++ b/
include/net/netfilter/nf_log.h
@@
-54,6
+54,6
@@
void nf_log_packet(int pf,
const struct net_device *in,
const struct net_device *out,
const struct nf_loginfo *li,
- const char *fmt, ...);
+ const char *fmt, ...)
__attribute__ ((format(printf,7,8)))
;
#endif /* _NF_LOG_H */