summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-23 03:17:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2017-01-23 03:17:56 +0000
commit3a0a66deec187850462fbfa29e3008718b8e865d (patch)
treed51425895d66d7bba06b41ed006b5fc2a4470fca /sys/kern
parent8f0314670a2f86dded2c3080fc254a01c644bc3d (diff)
whitespace
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_pledge.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_pledge.c b/sys/kern/kern_pledge.c
index 59b9c351798..c0e1fdc658b 100644
--- a/sys/kern/kern_pledge.c
+++ b/sys/kern/kern_pledge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_pledge.c,v 1.189 2017/01/21 05:42:03 guenther Exp $ */
+/* $OpenBSD: kern_pledge.c,v 1.190 2017/01/23 03:17:55 deraadt Exp $ */
/*
* Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
@@ -1601,11 +1601,11 @@ canonpath(const char *input, char *buf, size_t bufsize)
*q++ = *p++;
}
}
- if ((*p == '\0') && (q - buf < bufsize)) {
- *q = 0;
- return 0;
- } else
- return ENAMETOOLONG;
+ if ((*p == '\0') && (q - buf < bufsize)) {
+ *q = 0;
+ return 0;
+ } else
+ return ENAMETOOLONG;
}
int