summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_sec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c
index 4306a94191..068be684f3 100644
--- a/source3/lib/util_sec.c
+++ b/source3/lib/util_sec.c
@@ -305,6 +305,7 @@ void become_user_permanently(uid_t uid, gid_t gid)
assert_gid(gid, gid);
}
+#ifdef AUTOCONF_TEST
/****************************************************************************
this function just checks that we don't get ENOSYS back
@@ -334,7 +335,6 @@ static int have_syscall(void)
return 0;
}
-#ifdef AUTOCONF_TEST
main()
{
if (getuid() != 0) {