summaryrefslogtreecommitdiff
path: root/kern/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'kern/error.c')
-rw-r--r--kern/error.c3
1 files changed, 2 insertions, 1 deletions
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,