summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/gf-dirent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/gf-dirent.c b/libglusterfs/src/gf-dirent.c
index 35a81bb8a..cd31464ff 100644
--- a/libglusterfs/src/gf-dirent.c
+++ b/libglusterfs/src/gf-dirent.c
@@ -39,7 +39,7 @@ struct gf_dirent_nb {
uint32_t d_len;
uint32_t d_type;
struct gf_stat d_stat;
- char d_name[1];
+ char d_name[0];
} __attribute__((packed));