From 39c13b3b84b34e0938220126c8f147d2b0b6ac89 Mon Sep 17 00:00:00 2001 From: Richard Braun Date: Fri, 9 Dec 2016 01:41:06 +0100 Subject: Force brackets around one-line conditional statements This change was done using astyle, with a few manual editing here and there. --- kern/error.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kern/error.c') diff --git a/kern/error.c b/kern/error.c index a86e913c..043cdb98 100644 --- a/kern/error.c +++ b/kern/error.c @@ -42,8 +42,9 @@ error_str(int error) void error_check(int error, const char *prefix) { - if (!error) + if (!error) { return; + } panic("%s%s%s", (prefix == NULL) ? "" : prefix, -- cgit v1.2.3