diff options
Diffstat (limited to 'xlators/mgmt')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-proc-mgmt.h | 2 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-svc-mgmt.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-proc-mgmt.h b/xlators/mgmt/glusterd/src/glusterd-proc-mgmt.h index 36ad5ae673..e8e9ffc508 100644 --- a/xlators/mgmt/glusterd/src/glusterd-proc-mgmt.h +++ b/xlators/mgmt/glusterd/src/glusterd-proc-mgmt.h @@ -22,7 +22,7 @@ enum proc_flags { }; struct glusterd_proc_ { - char name[PATH_MAX]; + char name[NAME_MAX]; char pidfile[PATH_MAX]; char logdir[PATH_MAX]; char logfile[PATH_MAX]; diff --git a/xlators/mgmt/glusterd/src/glusterd-svc-mgmt.h b/xlators/mgmt/glusterd/src/glusterd-svc-mgmt.h index 3bf142b58d..c850bfda68 100644 --- a/xlators/mgmt/glusterd/src/glusterd-svc-mgmt.h +++ b/xlators/mgmt/glusterd/src/glusterd-svc-mgmt.h @@ -26,7 +26,7 @@ typedef int (*glusterd_svc_stop_t)(glusterd_svc_t *svc, int sig); typedef int (*glusterd_svc_reconfigure_t)(void *data); struct glusterd_svc_ { - char name[PATH_MAX]; + char name[NAME_MAX]; glusterd_conn_t conn; glusterd_proc_t proc; glusterd_svc_manager_t manager; |