summaryrefslogtreecommitdiff
path: root/libdiskfs/file-getfh.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs/file-getfh.c')
-rw-r--r--libdiskfs/file-getfh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-getfh.c b/libdiskfs/file-getfh.c
index 035705b5..e4bc8921 100644
--- a/libdiskfs/file-getfh.c
+++ b/libdiskfs/file-getfh.c
@@ -50,7 +50,7 @@ diskfs_S_file_getfh (struct protid *cred, char **fh, size_t *fh_len)
f = (union diskfs_fhandle *) *fh;
- bzero (f, sizeof *f);
+ memset (f, 0, sizeof *f);
f->data.cache_id = node->cache_id;
f->data.gen = node->dn_stat.st_gen;