summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2017-11-15 11:27:03 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-11-15 11:27:20 +0100
commit434f6ca4736b4bcfe8865824b6134f79417e594b (patch)
tree6695ae0c554e07ee0a6b1ae762b31bded3d8b5dc
parenta3849c7b32e0e4ce0485af11dad1329f7d183683 (diff)
Fix build error
* Some warning compile message is a error in yocto Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
-rw-r--r--ucs2-afb/ucs_binding.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c
index 4730967..e7a940b 100644
--- a/ucs2-afb/ucs_binding.c
+++ b/ucs2-afb/ucs_binding.c
@@ -83,7 +83,7 @@ PUBLIC void UcsXml_CB_OnError(const char format[], uint16_t vargsCnt, ...) {
va_start(argptr, vargsCnt);
vsprintf(outbuf, format, argptr);
va_end(argptr);
- AFB_WARNING (outbuf);
+ AFB_WARNING ("%s", outbuf);
}
PUBLIC uint16_t UCSI_CB_OnGetTime(void *pTag) {
@@ -139,7 +139,7 @@ void UCSI_CB_OnUserMessage(void *pTag, bool isError, const char format[],
vsprintf(outbuf, format, argptr);
va_end(argptr);
if (isError)
- AFB_NOTICE (outbuf);
+ AFB_NOTICE ("%s",outbuf);
}
/** UCSI_Service cannot be called directly within UNICENS context, need to service stack through mainloop */