summaryrefslogtreecommitdiff
path: root/alsactl
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-09-19 10:26:22 +0000
committerJaroslav Kysela <perex@perex.cz>2002-09-19 10:26:22 +0000
commit69a903d676414bd1c568a5f7d016c911b760158e (patch)
tree5365e57c7b964976125a94b2ed2be23b0accb39e /alsactl
parent7dbfb610471668f31cdd99d686f6aa3ef0de9040 (diff)
downloadalsa-utils-69a903d676414bd1c568a5f7d016c911b760158e.tar.gz
Fixed warning
Diffstat (limited to 'alsactl')
-rw-r--r--alsactl/alsactl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alsactl/alsactl.c b/alsactl/alsactl.c
index 6ef8ddd..9aa44a7 100644
--- a/alsactl/alsactl.c
+++ b/alsactl/alsactl.c
@@ -957,7 +957,7 @@ static int set_control(snd_ctl_t *handle, snd_config_t *control)
_ok:
err = snd_ctl_elem_write(handle, ctl);
if (err < 0) {
- error("Cannot write control '%d:%d:%d:%s:%d' : %s", iface, device, subdevice, name, index, snd_strerror(err));
+ error("Cannot write control '%ld:%ld:%ld:%s:%ld' : %s", iface, device, subdevice, name, index, snd_strerror(err));
return err;
}
return 0;