git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a58ca91
)
Fixed compiler warning.
author
Tim Potter
<tpot@samba.org>
Wed, 6 Dec 2000 02:52:54 +0000
(
02:52
+0000)
committer
Tim Potter
<tpot@samba.org>
Wed, 6 Dec 2000 02:52:54 +0000
(
02:52
+0000)
(This used to be commit
6553f1d02792d81987dda51af76b4fc06d73a787
)
source3/lib/util_sec.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sec.c
b/source3/lib/util_sec.c
index 4306a94191dc4a404ae5270d78355da5b716ceec..068be684f36a4c00b6409479273a2aa825d56eac 100644
(file)
--- 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) {