From 87c58b59b5c443fe3244bd06417c451581d1f635 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 5 Oct 2010 10:02:45 +0200 Subject: [PATCH] amixer: fix parsing of control ID name Signed-off-by: Jaroslav Kysela --- amixer/amixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;