[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1491781572-22924-1-git-send-email-ronm@meesterprutser.nl>
Date: Mon, 10 Apr 2017 01:46:12 +0200
From: Ron Mentink <ronm@...sterprutser.nl>
To: linux-kernel@...r.kernel.org
Cc: shuah@...nel.org, corbet@....net,
Ron Mentink <ronm@...sterprutser.nl>
Subject: [PATCH] samples: fixed blank line after declaration
Following the code-style added a blank line to watchdog-simple.c in the
examples.
Signed-off-by: ronm <ronm@...sterprutser.nl>
---
samples/watchdog/watchdog-simple.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/samples/watchdog/watchdog-simple.c b/samples/watchdog/watchdog-simple.c
index ba45803..327b226 100644
--- a/samples/watchdog/watchdog-simple.c
+++ b/samples/watchdog/watchdog-simple.c
@@ -7,6 +7,7 @@ int main(void)
{
int fd = open("/dev/watchdog", O_WRONLY);
int ret = 0;
+
if (fd == -1) {
perror("watchdog");
exit(EXIT_FAILURE);
--
1.9.1
Powered by blists - more mailing lists