summaryrefslogtreecommitdiff
path: root/libtrivfs/file-statfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs/file-statfs.c')
-rw-r--r--libtrivfs/file-statfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/file-statfs.c b/libtrivfs/file-statfs.c
index 348126e8..267ac505 100644
--- a/libtrivfs/file-statfs.c
+++ b/libtrivfs/file-statfs.c
@@ -28,7 +28,7 @@ trivfs_S_file_statfs (struct trivfs_protid *cred,
if (!trivfs_fsid)
trivfs_fsid = getpid();
- bzero (stb, sizeof (struct statfs));
+ memset (stb, 0, sizeof(struct statfs));
stb->f_type = trivfs_fstype;
stb->f_fsid = trivfs_fsid;