summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorWilco Baan Hofman <wilco@baanhofman.nl>2010-05-05 10:12:20 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 17:19:11 +0200
commit32ee6f8cfddefff92e59e230c5920afec16ffd7d (patch)
treebe13bb0858a51ada5aa8baa553a84700a1f98762 /source4
parent2941d2ebc353f16b6eb63985a8a71f454f16212e (diff)
downloadsamba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.tar.gz
samba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.tar.bz2
samba-32ee6f8cfddefff92e59e230c5920afec16ffd7d.zip
Fix mode_t in mkdir.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/policy/gp_filesys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/policy/gp_filesys.c b/source4/lib/policy/gp_filesys.c
index 03d746861f..771ba5e072 100644
--- a/source4/lib/policy/gp_filesys.c
+++ b/source4/lib/policy/gp_filesys.c
@@ -224,7 +224,7 @@ NTSTATUS gp_fetch_gpo (struct gp_context *gp_ctx, struct gp_object *gpo, const c
/* Create the GPO dir if it does not exist */
if (stat(state->local_path, &st) != 0) {
- rv = mkdir(state->local_path, 755);
+ rv = mkdir(state->local_path, 0755);
if (rv < 0) {
DEBUG(0, ("Could not create local path\n"));
talloc_free(mem_ctx);