projects
/
project
/
ubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
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 4cabb434a0ea050e7d79452566807a66d4c51eae..f75fed9e5139cd0b810d1bba49e15686609e7497 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 b682cedf504f08958a4cf83858c942a2fb6257f7..81a039f3263e90b44e3568803e1d7aee58cfe386 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[];
};