summaryrefslogtreecommitdiffstats
path: root/ALSA-afb/Alsa-SetGet.c
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-06-01 16:58:29 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-06-01 16:58:29 +0200
commiteb3fb0866ea130ec0c15c868e1a5c806981195cc (patch)
tree3a9e048530389b98de9342fa4e55c7be138dba9e /ALSA-afb/Alsa-SetGet.c
parent1249980baf09368727734ed6d647852fa8ffdfa0 (diff)
Fix warnings
Change-Id: Ia1d0f054dde9468ee08d52f6e4b1b89d0ebc0ff0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'ALSA-afb/Alsa-SetGet.c')
-rw-r--r--ALSA-afb/Alsa-SetGet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ALSA-afb/Alsa-SetGet.c b/ALSA-afb/Alsa-SetGet.c
index 1f80d01..abf1a6a 100644
--- a/ALSA-afb/Alsa-SetGet.c
+++ b/ALSA-afb/Alsa-SetGet.c
@@ -925,7 +925,7 @@ PUBLIC void alsaSubcribe (struct afb_req request) {
// reach MAX_SND_CARD event registration
if (idxFree == -1) {
- afb_req_fail_f (request, "register-toomany", "Cannot register new event Maxcard==%devent name=%s", idx);
+ afb_req_fail_f (request, "register-toomany", "Cannot register new event Maxcard==%d", idx);
goto OnErrorExit;
}
@@ -967,7 +967,7 @@ PUBLIC void alsaSubcribe (struct afb_req request) {
// subscribe to binder event
err = afb_req_subscribe(request, evtHandle->afbevt);
if (err != 0) {
- afb_req_fail_f (request, "register-eventname", "Cannot subscribe binder event name=%s [invalid channel]", queryValues.devid, err);
+ afb_req_fail_f (request, "register-eventname", "Cannot subscribe binder event name=%s [invalid channel]", queryValues.devid);
goto OnErrorExit;
}