summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/lib')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog.c b/xlators/features/changelog/lib/src/gf-changelog.c
index 5586580a748..f3f6ffbe976 100644
--- a/xlators/features/changelog/lib/src/gf-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-changelog.c
@@ -465,7 +465,7 @@ gf_changelog_register (char *brick_path, char *scratch_dir,
gfc->gfc_fd = gfc->gfc_sockfd = -1;
if (stat (scratch_dir, &buf) && errno == ENOENT) {
- ret = mkdir_p (scratch_dir, 0600, _gf_false);
+ ret = mkdir_p (scratch_dir, 0600, _gf_true);
if (ret) {
errn = errno;
goto cleanup;