aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2019-05-28 14:50:09 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2019-05-29 14:45:48 +0200
commitd915272ab0fef010d0cc84710588cb947f5215d2 (patch)
tree2b4901be00022f87fe3363e46c03ee80b3ab9888
parent94654c6b4241bcb024dd92a6b86edf611f421deb (diff)
Add forgotten spaces in some multi-lines prints
Add forgotten spaces in some multi-lines prints. BUG-AGL: SPEC-2329 Change-Id: I84457ac695a613b3cf280c3e8fb4f25b71070438 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
-rw-r--r--src/4a-internals-hal/4a-internals-hal-cb.c6
-rw-r--r--src/4a-internals-hal/4a-internals-hal-value-handler.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/4a-internals-hal/4a-internals-hal-cb.c b/src/4a-internals-hal/4a-internals-hal-cb.c
index 14b3a1a..451572e 100644
--- a/src/4a-internals-hal/4a-internals-hal-cb.c
+++ b/src/4a-internals-hal/4a-internals-hal-cb.c
@@ -97,14 +97,14 @@ void InternalHalDispatchApiEvent(afb_api_t apiHandle, const char *evtLabel, json
}
else if(currentHalAlsaCtlsT->ctls[idx].actionJ) {
AFB_API_WARNING(apiHandle,
- "The alsa control id '%i' is corresponding to a known control which"
+ "The alsa control id '%i' is corresponding to a known control which "
"has a registered action, but action is not ready to be executed",
numid);
return;
}
else {
AFB_API_NOTICE(apiHandle,
- "The alsa control id '%i' is corresponding to a known control"
+ "The alsa control id '%i' is corresponding to a known control "
"but without any action registered",
numid);
}
@@ -297,7 +297,7 @@ int InternalHalHandleOneHalMapObject(afb_api_t apiHandle, char *cardId, struct I
toLoadAction = calloc(1, sizeof(CtlActionT));
if(! toLoadAction) {
AFB_API_ERROR(apiHandle,
- "Didn't succeed to allocate structure used to store action to perform"
+ "Didn't succeed to allocate structure used to store action to perform "
"when the corresponding ALSA control is detected");
return -4;
}
diff --git a/src/4a-internals-hal/4a-internals-hal-value-handler.c b/src/4a-internals-hal/4a-internals-hal-value-handler.c
index a8b0e2e..e9cb2a0 100644
--- a/src/4a-internals-hal/4a-internals-hal-value-handler.c
+++ b/src/4a-internals-hal/4a-internals-hal-value-handler.c
@@ -298,7 +298,7 @@ int InternalHalChangePreviousValuesUsingJson(afb_api_t apiHandle,
requestedPercentageVariation = (int) strtol(requestedPercentageVariationString, &conversionEnd, 10);
if(conversionEnd == requestedPercentageVariationString) {
AFB_API_ERROR(apiHandle,
- "Tried to increase/decrease an integer control"
+ "Tried to increase/decrease an integer control "
"but string sent in json is not a increase/decrease string : '%s'",
json_object_get_string(requestedPercentageVariationJ));
return -1;
@@ -307,7 +307,7 @@ int InternalHalChangePreviousValuesUsingJson(afb_api_t apiHandle,
if(alsaCtlProperties->type != SND_CTL_ELEM_TYPE_INTEGER &&
alsaCtlProperties->type != SND_CTL_ELEM_TYPE_INTEGER64) {
AFB_API_ERROR(apiHandle,
- "Tried to increase/decrease values on a incompatible"
+ "Tried to increase/decrease values on a incompatible "
"control type (%i), control type must be an integer",
alsaCtlProperties->type);
return -2;
@@ -315,7 +315,7 @@ int InternalHalChangePreviousValuesUsingJson(afb_api_t apiHandle,
if(requestedPercentageVariation < -100 || requestedPercentageVariation > 100) {
AFB_API_ERROR(apiHandle,
- "Tried to increase/decrease values but specified change is"
+ "Tried to increase/decrease values but specified change is "
"not a valid percentage, it should be between -100 and 100");
return -3;
}