diff options
Diffstat (limited to 'drivers/cdrom/optcd.c')
-rw-r--r-- | drivers/cdrom/optcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cdrom/optcd.c b/drivers/cdrom/optcd.c index 25032d7edc55..3541690a77d4 100644 --- a/drivers/cdrom/optcd.c +++ b/drivers/cdrom/optcd.c | |||
@@ -101,7 +101,7 @@ static void debug(int debug_this, const char* fmt, ...) | |||
101 | return; | 101 | return; |
102 | 102 | ||
103 | va_start(args, fmt); | 103 | va_start(args, fmt); |
104 | vsprintf(s, fmt, args); | 104 | vsnprintf(s, sizeof(s), fmt, args); |
105 | printk(KERN_DEBUG "optcd: %s\n", s); | 105 | printk(KERN_DEBUG "optcd: %s\n", s); |
106 | va_end(args); | 106 | va_end(args); |
107 | } | 107 | } |