summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2019-01-27 00:41:28 +0100
committerDavid Disseldorp <ddiss@samba.org>2019-01-29 00:29:17 +0100
commitf1b43dfe4a75683d881811bd0830e38e16822d6a (patch)
treefb24dcb8ae5298d8f9f20d9928e9708b72b1e164 /source3/lib
parent45a202a197d7615a6285768545a691cfb05deb22 (diff)
downloadsamba-f1b43dfe4a75683d881811bd0830e38e16822d6a.tar.gz
s3/lib: clean up have_syscall() formatting
Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util_sec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c
index 1eac7d711b8..974e458b06e 100644
--- a/source3/lib/util_sec.c
+++ b/source3/lib/util_sec.c
@@ -544,8 +544,9 @@ static int have_syscall(void)
samba_setuidx(ID_EFFECTIVE, -1);
#endif
- if (errno == ENOSYS) return -1;
-
+ if (errno == ENOSYS) {
+ return -1;
+ }
return 0;
}