From patchwork Tue Apr 21 17:04:44 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luka Perkov X-Patchwork-Id: 463406 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id EF6781401E7 for ; Wed, 22 Apr 2015 03:06:48 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 6920C28BD2B; Tue, 21 Apr 2015 19:05:04 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from localhost (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 4028128BD2B; Tue, 21 Apr 2015 19:04:38 +0200 (CEST) X-Virus-Scanned: at arrakis.dune.hu Received: from t530.lan (cpe-94-253-155-145.zg.cable.xnet.hr [94.253.155.145]) by arrakis.dune.hu (Postfix) with ESMTPSA id 81C8528BB82; Tue, 21 Apr 2015 19:04:34 +0200 (CEST) From: Luka Perkov To: openwrt-devel@lists.openwrt.org Date: Tue, 21 Apr 2015 19:04:44 +0200 Message-Id: <1429635886-4895-2-git-send-email-luka@openwrt.org> X-Mailer: git-send-email 2.3.5 In-Reply-To: <1429635886-4895-1-git-send-email-luka@openwrt.org> References: <1429635886-4895-1-git-send-email-luka@openwrt.org> Cc: Luka Perkov Subject: [OpenWrt-Devel] [PATCH 2/4] [ubox] log: fix whitespaces X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" Signed-off-by: Luka Perkov --- 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[]; };