forked from pool/alsa-utils
28 lines
734 B
Diff
28 lines
734 B
Diff
|
From 87c58b59b5c443fe3244bd06417c451581d1f635 Mon Sep 17 00:00:00 2001
|
||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||
|
Date: Tue, 5 Oct 2010 10:02:45 +0200
|
||
|
Subject: [PATCH 16/38] amixer: fix parsing of control ID name
|
||
|
|
||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||
|
---
|
||
|
amixer/amixer.c | 2 +-
|
||
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
||
|
|
||
|
diff --git a/amixer/amixer.c b/amixer/amixer.c
|
||
|
index c9ea572..a177288 100644
|
||
|
--- a/amixer/amixer.c
|
||
|
+++ b/amixer/amixer.c
|
||
|
@@ -1120,8 +1120,8 @@ static int parse_control_id(const char *str, snd_ctl_elem_id_t *id)
|
||
|
}
|
||
|
str++;
|
||
|
}
|
||
|
- *ptr = '\0';
|
||
|
}
|
||
|
+ *ptr = '\0';
|
||
|
snd_ctl_elem_id_set_name(id, buf);
|
||
|
} else if (!strncasecmp(str, "index=", 6)) {
|
||
|
str += 6;
|
||
|
--
|
||
|
1.7.3.1
|
||
|
|