diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2013-08-08 14:05:45 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-08-08 14:05:57 +0300 |
commit | d01c257665b846ced89d84099013f1b2d27791c7 (patch) | |
tree | 13740d280a969df220dbd210d3787f47c3da6546 /tools/scotest.c | |
parent | 0ede25eddcab4c46860bf09d759c7b38c3d1490e (diff) | |
download | bluez-d01c257665b846ced89d84099013f1b2d27791c7.tar.gz |
tools/scotest: Fix supporting hex voice setting values
Diffstat (limited to 'tools/scotest.c')
-rw-r--r-- | tools/scotest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scotest.c b/tools/scotest.c index 1d46f1b2f..69150b192 100644 --- a/tools/scotest.c +++ b/tools/scotest.c @@ -458,7 +458,7 @@ int main(int argc ,char *argv[]) break; case 'V': - voice = atoi(optarg); + voice = strtol(optarg, NULL, 0); break; default: |