diff options
author | Max Krasnyansky <maxk@qualcomm.com> | 2002-07-09 18:54:46 +0000 |
---|---|---|
committer | Max Krasnyansky <maxk@qualcomm.com> | 2002-07-09 18:54:46 +0000 |
commit | 1ab78899d1ca28e0ea56cb68c73c04b7128d233f (patch) | |
tree | 0fb27a13d9198278144fdc60d410fd0332462254 /tools | |
parent | 8bf4e7762d7839c00dec331b32b8674190e98be7 (diff) |
Timeout can be 5 digits.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/hciconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/hciconfig.c b/tools/hciconfig.c index a247e29d..6f9dc4ca 100644 --- a/tools/hciconfig.c +++ b/tools/hciconfig.c @@ -570,7 +570,7 @@ void cmd_page_to(int ctl, int hdev, char *opt) unsigned int timeout; write_page_timeout_cp cp; - if (sscanf(opt,"%4u", &timeout) != 1) { + if (sscanf(opt,"%5u", &timeout) != 1) { printf("Invalid argument format\n"); exit(1); } |