summaryrefslogtreecommitdiffstats
path: root/ALSA-afb
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-06-25 21:19:02 +0200
committerFulup Ar Foll <fulup@iot.bzh>2017-06-25 21:19:02 +0200
commit0fe1ff36dcc75149481d8071a1806c5408f70acc (patch)
tree1ea7b34e2a82033424ec63ebbcc6e16a79c82516 /ALSA-afb
parentdbbef07d5d5e7c4d1c3eac2d6d1fd5f4f46268ce (diff)
parenteb3fb0866ea130ec0c15c868e1a5c806981195cc (diff)
Merge branch 'master' of github.com:iotbzh/audio-bindings
Moved to New AGL cmake build Templates
Diffstat (limited to 'ALSA-afb')
-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;
}