summaryrefslogtreecommitdiffstats
path: root/ucs2-afb/ucs_binding.c
diff options
context:
space:
mode:
authorTobias Jahnke <tobias.jahnke@microchip.com>2019-09-12 10:23:09 +0200
committerTobias Jahnke <tobias.jahnke@microchip.com>2019-09-12 10:23:09 +0200
commit02b34d1e71ccadfa97fa5412e635b41142c5bd20 (patch)
tree18d25429528539a378417ff40a7492d423c56092 /ucs2-afb/ucs_binding.c
parent6043c1ae174905e4bfd06bc5ed89e09c7ef9c7cb (diff)
unicens: support reproducible build
Changed usage of __FILE__ macro to not print absolut paths in warning and error messages Bug-AGL: SPEC-2802 Signed-off-by: Tobias Jahnke <tobias.jahnke@microchip.com> Change-Id: I3755e96cb23f8c782ea00f4b4fdc7df7d08972d7
Diffstat (limited to 'ucs2-afb/ucs_binding.c')
-rw-r--r--ucs2-afb/ucs_binding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ucs2-afb/ucs_binding.c b/ucs2-afb/ucs_binding.c
index 81ca3bb..777b967 100644
--- a/ucs2-afb/ucs_binding.c
+++ b/ucs2-afb/ucs_binding.c
@@ -81,10 +81,11 @@ static EventDataRx_t *eventDataRx = NULL;
PUBLIC void UcsXml_CB_OnError(const char format[], uint16_t vargsCnt, ...) {
/*AFB_API_DEBUG (afbBindingRoot, afbIface, format, args); */
+ /*you may activite logging to stdout here
va_list args;
va_start (args, vargsCnt);
vfprintf (stderr, format, args);
- va_end(args);
+ va_end(args);*/
va_list argptr;
char outbuf[300];