diff options
author | Tim Potter <tpot@samba.org> | 2002-02-17 18:56:30 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-02-17 18:56:30 +0000 |
commit | 606fdc7c5c82ab10349fd2a594c06225932b3966 (patch) | |
tree | c65c99bc50cc777a24d97f711355d2e44e12aa20 | |
parent | 553628470675b1747b0b6cdccf5e971482c28435 (diff) | |
download | samba-606fdc7c5c82ab10349fd2a594c06225932b3966.tar.gz samba-606fdc7c5c82ab10349fd2a594c06225932b3966.tar.bz2 samba-606fdc7c5c82ab10349fd2a594c06225932b3966.zip |
Whoops, typo.
(This used to be commit e7abb79fb304b34aeb369dc6deafa96dfd1e02f3)
-rw-r--r-- | source3/lib/util_sec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/util_sec.c b/source3/lib/util_sec.c index ac808b7fef..f79da8d2e4 100644 --- a/source3/lib/util_sec.c +++ b/source3/lib/util_sec.c @@ -59,7 +59,7 @@ void sec_init(void) initial_uid = geteuid(); initial_gid = getegid(); - sec_initialise = True; + sec_initialised = True; } /**************************************************************************** @@ -67,7 +67,7 @@ some code (eg. winbindd) needs to know what uid we started as ****************************************************************************/ uid_t sec_initial_uid(void) { - if (!sec_initialise) + if (!sec_initialised) smb_panic("sec_initial_uid() called before sec_init()\n"); return initial_uid; @@ -78,7 +78,7 @@ some code (eg. winbindd, profiling shm) needs to know what gid we started as ****************************************************************************/ gid_t sec_initial_gid(void) { - if (!sec_initialise) + if (!sec_initialised) smb_panic("sec_initial_gid() called before sec_init()\n"); return initial_gid; @@ -89,7 +89,7 @@ are we running in non-root mode? ****************************************************************************/ BOOL non_root_mode(void) { - if (!sec_initialise) + if (!sec_initialised) smb_panic("non_root_mode() called before sec_init()\n"); return (initial_uid != (uid_t)0); |