diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-18 17:40:25 -0700 |
commit | f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f (patch) | |
tree | 1bc44df77ea5bb85a1e8bff698a583f3a3f43fc5 /source/lib/system.c | |
parent | ea3173a9457f9095a70d401abfd1af8c913211a0 (diff) | |
download | samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.tar.gz samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.tar.xz samba-f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f.zip |
RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
Diffstat (limited to 'source/lib/system.c')
-rw-r--r-- | source/lib/system.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/system.c b/source/lib/system.c index bf35722ea59..604228233cd 100644 --- a/source/lib/system.c +++ b/source/lib/system.c @@ -711,8 +711,8 @@ int sys_chroot(const char *dname) * from the inheritable set, because there is no circumstance in which our * children should inherit our elevated privileges. */ -static BOOL set_process_capability(enum smbd_capability capability, - BOOL enable) +static bool set_process_capability(enum smbd_capability capability, + bool enable) { cap_value_t cap_vals[2] = {0}; int num_cap_vals = 0; |