From 0a61c1514914951ff94e1228e8031737cc423e41 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 12 May 2004 13:47:19 +0000 Subject: Use 10 characters array in swave() routine --- tools/hciattach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/hciattach.c') diff --git a/tools/hciattach.c b/tools/hciattach.c index 3e8be20a..50432ec3 100644 --- a/tools/hciattach.c +++ b/tools/hciattach.c @@ -640,7 +640,7 @@ static int csr(int fd, struct uart_t *u, struct termios *ti) static int swave(int fd, struct uart_t *u, struct termios *ti) { struct timespec tm = {0, 500000}; - char cmd[9], rsp[100]; + char cmd[10], rsp[100]; int r; // Silicon Wave set baud rate command -- cgit