summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLu, Han <han.lu@intel.com>2015-10-20 16:45:46 +0800
committerTakashi Iwai <tiwai@suse.de>2015-10-20 11:06:24 +0200
commit8c910830f0b93e8956d0662017aae394cb3d9561 (patch)
tree1dd02db3726c53fe500ca01f6fdb1fd62397ef51
parent2d0a1246748105b4e97be2b97b5099dcda835bad (diff)
downloadalsa-utils-8c910830f0b93e8956d0662017aae394cb3d9561.tar.gz
BAT: Use colon instead of comma for separation
Use colon instead of comma to separate frequency parameters, for in several locale comma may be handled as decimal point. Signed-off-by: Lu, Han <han.lu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--bat/bat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bat/bat.c b/bat/bat.c
index 1af5c37..dd34505 100644
--- a/bat/bat.c
+++ b/bat/bat.c
@@ -74,7 +74,7 @@ static void get_sine_frequencies(struct bat *bat, char *freq)
{
char *tmp1;
- tmp1 = strchr(freq, ',');
+ tmp1 = strchr(freq, ':');
if (tmp1 == NULL) {
bat->target_freq[1] = bat->target_freq[0] = atof(optarg);
} else {