diff options
author | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-22 17:19:40 +0200 |
---|---|---|
committer | Thierry Bultel <thierry.bultel@iot.bzh> | 2018-06-22 17:19:40 +0200 |
commit | 7a02db1106cc5fab6016b05a5c13d3dc7c6f0be9 (patch) | |
tree | 0e1fe523a8c1196f401a5851d40d404fe7592de8 /plugins/alsa/alsa-api-mixer.c | |
parent | b124cc00e9714ac20fdf96f480fc7f08e06a2150 (diff) |
plugins: code & log cleanup
Diffstat (limited to 'plugins/alsa/alsa-api-mixer.c')
-rw-r--r-- | plugins/alsa/alsa-api-mixer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/alsa/alsa-api-mixer.c b/plugins/alsa/alsa-api-mixer.c index 407b2c0..f17e122 100644 --- a/plugins/alsa/alsa-api-mixer.c +++ b/plugins/alsa/alsa-api-mixer.c @@ -624,10 +624,10 @@ STATIC void MixerAttachVerb(AFB_ReqT request) { json_object_object_add(responseJ, "streams", resultJ); } - AFB_ApiNotice(mixer->api, "%s responseJ=%s\n", __func__, json_object_get_string(responseJ)); + AFB_ApiNotice(mixer->api, "%s responseJ=%s", __func__, json_object_get_string(responseJ)); AFB_ReqSuccess(request, responseJ, NULL); - AFB_ApiInfo(mixer->api,"%s DONE\n", __func__); + AFB_ApiInfo(mixer->api,"%s DONE", __func__); return; OnErrorExit: @@ -638,7 +638,7 @@ STATIC void MixerPingVerb(AFB_ReqT request) { static int count = 0; count++; - AFB_ReqInfo(request, "MixerAttachVerb: Controller:ping count=%d\n", count); + AFB_ReqInfo(request, "MixerAttachVerb: Controller:ping count=%d", count); AFB_ReqSuccess(request, json_object_new_int(count), NULL); return; |