summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rwxr-xr-xsrc/log.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/log.c b/src/log.c
index fa8ac31f..28812ea5 100755
--- a/src/log.c
+++ b/src/log.c
@@ -314,6 +314,9 @@ static void print_backtrace(unsigned int offset)
buf[len] = '\0';
pos = strchr(buf, '\n');
+#if defined TIZEN_EXT
+ if (pos) {
+#endif
*pos++ = '\0';
if (strcmp(buf, "??") == 0) {
@@ -330,6 +333,9 @@ static void print_backtrace(unsigned int offset)
connman_error("#%-2u %p in %s() at %s", i - offset,
frames[i], buf, pos);
+#if defined TIZEN_EXT
+ }
+#endif
}
connman_error("+++++++++++++++++++++++++++");