| Submitter | Raghavendra Bhat |
|---|---|
| Date | 2010-08-28 07:20:37 |
| Message ID | <20100828072037.GA11133@dev.gluster.com> |
| Download | mbox | patch |
| Permalink | /patch/4352/ |
| State | Accepted |
| Headers | show |
Comments
Patch
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index f3e864a..50348cf 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -184,7 +184,7 @@ typedef ssize_t (*gd_serialize_t) (struct iovec outmsg, void *args); #define GLUSTERD_GET_BRICK_PIDFILE(pidfile,volpath,hostname,brickpath) { \ int i = 0; \ char exp_path[PATH_MAX] = {0,}; \ - for (i = 0; i < strlen (path); i++) { \ + for (i = 0; i < strlen (brickpath); i++) { \ exp_path[i] = brickpath[i]; \ if (exp_path[i] == '/') \ exp_path[i] = '-'; \
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> --- xlators/mgmt/glusterd/src/glusterd.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)