diff options
author | Joe Perches <joe@perches.com> | 2010-11-10 19:54:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-17 19:58:22 +0100 |
commit | 9920239c90d5f6dadfb44325abf3568a5e3fd827 (patch) | |
tree | 5508c2643cc7cb3164c169539fbbab810de63bf9 /drivers/isdn/hisax/isdnl3.c | |
parent | SELinux: return -ECONNREFUSED from ip_postroute to signal fatal error (diff) | |
download | linux-9920239c90d5f6dadfb44325abf3568a5e3fd827.tar.xz linux-9920239c90d5f6dadfb44325abf3568a5e3fd827.zip |
drivers/isdn/hisax: Add printf format/argument verification and fix fallout
Add __attribute__((format... to several functins
Make formats and arguments match.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hisax/isdnl3.c')
-rw-r--r-- | drivers/isdn/hisax/isdnl3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hisax/isdnl3.c b/drivers/isdn/hisax/isdnl3.c index fd0b643ab740..ad291f21b201 100644 --- a/drivers/isdn/hisax/isdnl3.c +++ b/drivers/isdn/hisax/isdnl3.c @@ -66,7 +66,7 @@ static char *strL3Event[] = "EV_TIMEOUT", }; -static void +static __attribute__((format(printf, 2, 3))) void l3m_debug(struct FsmInst *fi, char *fmt, ...) { va_list args; |