summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/src/changelog-notifier.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog/src/changelog-notifier.c')
-rw-r--r--xlators/features/changelog/src/changelog-notifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/changelog/src/changelog-notifier.c b/xlators/features/changelog/src/changelog-notifier.c
index 1f8b312538e..5f3d063a8ad 100644
--- a/xlators/features/changelog/src/changelog-notifier.c
+++ b/xlators/features/changelog/src/changelog-notifier.c
@@ -178,7 +178,7 @@ changelog_notifier (void *data)
}
CHANGELOG_MAKE_SOCKET_PATH (priv->changelog_brick,
- cn->sockpath, PATH_MAX);
+ cn->sockpath, UNIX_PATH_MAX);
if (unlink (cn->sockpath) < 0) {
if (errno != ENOENT) {
gf_log (this->name, GF_LOG_ERROR,