summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd.h
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h
index f140bd9f7..5fccc0199 100644
--- a/xlators/mgmt/glusterd/src/glusterd.h
+++ b/xlators/mgmt/glusterd/src/glusterd.h
@@ -92,8 +92,8 @@ typedef ssize_t (*gd_serialize_t) (struct iovec outmsg, void *args);
snprintf (path, PATH_MAX, "%s/vols/%s", priv->workdir,\
volinfo->volname);
-#define GLUSTERD_GET_BRICK_PIDFILE(pidfile, volpath, hostname)\
- snprintf (pidfile, PATH_MAX, "%s/run/%s.pid", volpath, hostname);
+#define GLUSTERD_GET_BRICK_PIDFILE(pidfile, volpath, hostname, count) \
+ snprintf (pidfile, PATH_MAX, "%s/run/%s-%d.pid", volpath, hostname, count);
int
glusterd_probe_begin (rpcsvc_request_t *req, const char *hoststr, int port);