projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ec4d075
)
log: fix whitespaces
author
Luka Perkov
<luka@openwrt.org>
Tue, 21 Apr 2015 17:04:44 +0000
(19:04 +0200)
committer
John Crispin
<blogic@openwrt.org>
Thu, 14 May 2015 04:25:38 +0000
(06:25 +0200)
Signed-off-by: Luka Perkov <luka@openwrt.org>
log/syslog.c
patch
|
blob
|
history
log/syslog.h
patch
|
blob
|
history
diff --git
a/log/syslog.c
b/log/syslog.c
index
4cabb43
..
f75fed9
100644
(file)
--- a/
log/syslog.c
+++ b/
log/syslog.c
@@
-203,7
+203,7
@@
syslog_open(void)
int fd;
unlink(log_dev);
- fd = usock(USOCK_UNIX | USOCK_UDP |
USOCK_SERVER | USOCK_NONBLOCK, log_dev, NULL);
+ fd = usock(USOCK_UNIX | USOCK_UDP | USOCK_SERVER | USOCK_NONBLOCK, log_dev, NULL);
if (fd < 0) {
fprintf(stderr,"Failed to open %s\n", log_dev);
return -1;
diff --git
a/log/syslog.h
b/log/syslog.h
index
b682ced
..
81a039f
100644
(file)
--- a/
log/syslog.h
+++ b/
log/syslog.h
@@
-26,7
+26,7
@@
struct log_head {
unsigned int id;
int priority;
int source;
-
struct timespec ts;
+ struct timespec ts;
char data[];
};