diff options
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index 51dc60da333b..f013ee15327c 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -3515,7 +3515,7 @@ isdn_tty_parse_at(modem_info * info) | |||
3515 | { | 3515 | { |
3516 | atemu *m = &info->emu; | 3516 | atemu *m = &info->emu; |
3517 | char *p; | 3517 | char *p; |
3518 | char ds[40]; | 3518 | char ds[ISDN_MSNLEN]; |
3519 | 3519 | ||
3520 | #ifdef ISDN_DEBUG_AT | 3520 | #ifdef ISDN_DEBUG_AT |
3521 | printk(KERN_DEBUG "AT: '%s'\n", m->mdmcmd); | 3521 | printk(KERN_DEBUG "AT: '%s'\n", m->mdmcmd); |
@@ -3594,7 +3594,7 @@ isdn_tty_parse_at(modem_info * info) | |||
3594 | break; | 3594 | break; |
3595 | case '3': | 3595 | case '3': |
3596 | p++; | 3596 | p++; |
3597 | sprintf(ds, "\r\n%d", info->emu.charge); | 3597 | snprintf(ds, sizeof(ds), "\r\n%d", info->emu.charge); |
3598 | isdn_tty_at_cout(ds, info); | 3598 | isdn_tty_at_cout(ds, info); |
3599 | break; | 3599 | break; |
3600 | default:; | 3600 | default:; |