summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/gf-dirent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/gf-dirent.c')
-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 cd31464ff..35a81bb8a 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[0];
+ char d_name[1];
} __attribute__((packed));