summaryrefslogtreecommitdiffstats
path: root/tools/hciattach.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-12-02 15:01:51 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-12-02 15:01:51 +0000
commit2a6755856c498491474e64aa506b81031a1269f7 (patch)
tree02bad73c837df596fd24c3da1c9502d50ab66983 /tools/hciattach.c
parent90049a54d90557db7c7963c83ba9ff8d3b433c15 (diff)
Fix array length for device name
Diffstat (limited to 'tools/hciattach.c')
-rw-r--r--tools/hciattach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciattach.c b/tools/hciattach.c
index 8091d655..bcdad95b 100644
--- a/tools/hciattach.c
+++ b/tools/hciattach.c
@@ -968,7 +968,7 @@ int main(int argc, char *argv[])
int send_break = 0;
pid_t pid;
struct sigaction sa;
- char dev[20];
+ char dev[PATH_MAX];
detach = 1;
printpid = 0;