summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-02-15 23:30:15 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-02-16 19:49:34 +0530
commitf3132b97df6cb22d7fe6ba4d26e119200a3b70d6 (patch)
tree82fe98b99b92518ffdc62003d446d131eb607f4d /utils
parentff8c74670559f153b3f084fd67bba0eb03b07e7c (diff)
daemon: fix minor bugs
Reported-by: Pranith Kumar K <pkarampu@redhat.com> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/common.h b/utils/common.h
index 273c0fe..7cac49a 100644
--- a/utils/common.h
+++ b/utils/common.h
@@ -31,6 +31,7 @@
# define GB_STOREDIR "/block-store"
# define GB_TXLOCKFILE "meta.lock"
+# define SUN_PATH_MAX (sizeof(struct sockaddr_un) - sizeof(unsigned short int)) /*sun_family*/
ssize_t glusterBlockCreateParseSize(char *value);