diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-12-08 05:39:34 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:01 -0500 |
commit | 0b2dd130a5a8774a30de1f94266f6b9a9892153c (patch) | |
tree | e0542cc353be9169ec0ce2d6e9e80e9a33dbe963 /drivers/isdn/hardware | |
parent | f6e2cdc8aa395ea813603bfd81b70b5c461a8ebf (diff) |
[PATCH] drivers/isdn/*: trivial vsnprintf() conversion
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Alan Cox <alan@redhat.com>
Cc: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/isdn/hardware')
-rw-r--r-- | drivers/isdn/hardware/eicon/divasmain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/hardware/eicon/divasmain.c b/drivers/isdn/hardware/eicon/divasmain.c index dae2e83dd5e8..91fc92c01afe 100644 --- a/drivers/isdn/hardware/eicon/divasmain.c +++ b/drivers/isdn/hardware/eicon/divasmain.c | |||
@@ -185,7 +185,7 @@ void diva_log_info(unsigned char *format, ...) | |||
185 | unsigned char line[160]; | 185 | unsigned char line[160]; |
186 | 186 | ||
187 | va_start(args, format); | 187 | va_start(args, format); |
188 | vsprintf(line, format, args); | 188 | vsnprintf(line, sizeof(line), format, args); |
189 | va_end(args); | 189 | va_end(args); |
190 | 190 | ||
191 | printk(KERN_INFO "%s: %s\n", DRIVERLNAME, line); | 191 | printk(KERN_INFO "%s: %s\n", DRIVERLNAME, line); |