diff options
author | Jaroslav Kysela <perex@perex.cz> | 2004-02-24 09:19:31 +0000 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2004-02-24 09:19:31 +0000 |
commit | 7759ed8617cb5ddc21f9e1a8a21b0e1992f91f21 (patch) | |
tree | 719159f23e91503bad3b60d4a3a0e1c17d4be6a3 | |
parent | 1ae3fa853241fa2e44bf913899843d26f7830060 (diff) | |
download | alsa-utils-7759ed8617cb5ddc21f9e1a8a21b0e1992f91f21.tar.gz |
Clemens Ladisch <clemens@ladisch.de>
fix error messages for snd_mixer_load
-rw-r--r-- | amixer/amixer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/amixer/amixer.c b/amixer/amixer.c index 529d787..2f5055f 100644 --- a/amixer/amixer.c +++ b/amixer/amixer.c @@ -774,7 +774,7 @@ static int selems(int level) } err = snd_mixer_load(handle); if (err < 0) { - error("Mixer load error: %s", card, snd_strerror(err)); + error("Mixer %s load error: %s", card, snd_strerror(err)); snd_mixer_close(handle); return err; } @@ -1145,7 +1145,7 @@ static int sset(unsigned int argc, char *argv[], int roflag) } err = snd_mixer_load(handle); if (err < 0) { - error("Mixer load error: %s", card, snd_strerror(err)); + error("Mixer %s load error: %s", card, snd_strerror(err)); snd_mixer_close(handle); return err; } @@ -1427,7 +1427,7 @@ static int sevents(int argc ATTRIBUTE_UNUSED, char *argv[] ATTRIBUTE_UNUSED) snd_mixer_set_callback(handle, mixer_event); err = snd_mixer_load(handle); if (err < 0) { - error("Mixer load error: %s", card, snd_strerror(err)); + error("Mixer %s load error: %s", card, snd_strerror(err)); snd_mixer_close(handle); return err; } |