projects
/
platform
/
core
/
system
/
faultd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8913a68
)
util: log: fflush() stderr after each log line
07/129507/1
author
Krzysztof Opasiak
<k.opasiak@samsung.com>
Tue, 16 May 2017 17:36:35 +0000
(19:36 +0200)
committer
Krzysztof Opasiak
<k.opasiak@samsung.com>
Tue, 16 May 2017 20:48:39 +0000
(22:48 +0200)
Change-Id: Ifaff8c9718edaa54db2a5c051404f0b6bc1490b1
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
src/util/log.c
patch
|
blob
|
history
diff --git
a/src/util/log.c
b/src/util/log.c
index e120edbceb7363e4eefcfd45bd00118b1429d80f..0e12efeb969f280dc9b105d0de5d3f4c28426554 100644
(file)
--- a/
src/util/log.c
+++ b/
src/util/log.c
@@
-96,5
+96,6
@@
int log_internal(int level,
va_end(ap);
fprintf(stderr, "<%d>:%s:%d:%s:%s\n", level, file, line, func, buffer);
+ fflush(stderr);
return -error;
}