diff options
Diffstat (limited to 'libglusterfs/src/graph.c')
-rw-r--r-- | libglusterfs/src/graph.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libglusterfs/src/graph.c b/libglusterfs/src/graph.c index 2a171f3b8dc..26dfc4e6b81 100644 --- a/libglusterfs/src/graph.c +++ b/libglusterfs/src/graph.c @@ -1178,8 +1178,7 @@ glusterfs_graph_attach (glusterfs_graph_t *orig_graph, char *path, } file_len = stbuf.st_size; - volfile_content = GF_CALLOC (file_len+1, sizeof (char), - gf_common_mt_char); + volfile_content = GF_MALLOC (file_len+1, gf_common_mt_char); if (!volfile_content) return -ENOMEM; |