diff options
Diffstat (limited to 'drivers/isdn/hisax/st5481_d.c')
-rw-r--r-- | drivers/isdn/hisax/st5481_d.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hisax/st5481_d.c b/drivers/isdn/hisax/st5481_d.c index 1d8c2618366c..b8c4855cc889 100644 --- a/drivers/isdn/hisax/st5481_d.c +++ b/drivers/isdn/hisax/st5481_d.c | |||
@@ -173,7 +173,7 @@ static void l1m_debug(struct FsmInst *fi, char *fmt, ...) | |||
173 | char buf[256]; | 173 | char buf[256]; |
174 | 174 | ||
175 | va_start(args, fmt); | 175 | va_start(args, fmt); |
176 | vsprintf(buf, fmt, args); | 176 | vsnprintf(buf, sizeof(buf), fmt, args); |
177 | DBG(8, "%s", buf); | 177 | DBG(8, "%s", buf); |
178 | va_end(args); | 178 | va_end(args); |
179 | } | 179 | } |
@@ -275,7 +275,7 @@ static void dout_debug(struct FsmInst *fi, char *fmt, ...) | |||
275 | char buf[256]; | 275 | char buf[256]; |
276 | 276 | ||
277 | va_start(args, fmt); | 277 | va_start(args, fmt); |
278 | vsprintf(buf, fmt, args); | 278 | vsnprintf(buf, sizeof(buf), fmt, args); |
279 | DBG(0x2, "%s", buf); | 279 | DBG(0x2, "%s", buf); |
280 | va_end(args); | 280 | va_end(args); |
281 | } | 281 | } |