diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-12-02 15:01:51 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-12-02 15:01:51 +0000 |
commit | 2a6755856c498491474e64aa506b81031a1269f7 (patch) | |
tree | 02bad73c837df596fd24c3da1c9502d50ab66983 /tools | |
parent | 90049a54d90557db7c7963c83ba9ff8d3b433c15 (diff) |
Fix array length for device name
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hciattach.c | 2 |
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; |