projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
loop: make uloop_run() return the cancelling signal
[project/libubox.git]
/
ulog.c
diff --git
a/ulog.c
b/ulog.c
index
66aad90
..
296605d
100644
(file)
--- a/
ulog.c
+++ b/
ulog.c
@@
-90,7
+90,7
@@
static void ulog_kmsg(int priority, const char *fmt, va_list ap)
{
FILE *kmsg;
- if ((kmsg = fopen("/dev/kmsg", "
w
")) != NULL) {
+ if ((kmsg = fopen("/dev/kmsg", "
r+
")) != NULL) {
fprintf(kmsg, "<%u>", priority);
if (_ulog_ident)