[OpenWrt-Devel] [PATCH 2/4] [ubox] log: fix whitespaces

Luka Perkov luka at openwrt.org
Tue Apr 21 13:04:44 EDT 2015


Signed-off-by: Luka Perkov <luka at openwrt.org>
---
 log/syslog.c | 2 +-
 log/syslog.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/log/syslog.c b/log/syslog.c
index 4cabb43..f75fed9 100644
--- 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
--- 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[];
 };
 
-- 
2.3.5
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list