diff options
Diffstat (limited to 'libdiskfs/file-statfs.c')
-rw-r--r-- | libdiskfs/file-statfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdiskfs/file-statfs.c b/libdiskfs/file-statfs.c index 9d97ce66..c9fd6f1b 100644 --- a/libdiskfs/file-statfs.c +++ b/libdiskfs/file-statfs.c @@ -31,7 +31,7 @@ diskfs_S_file_statfs (struct protid *file, /* Start will all zeros, so the fs can skip fields for which it has no information to contribute. */ - bzero (statbuf, sizeof *statbuf); + memset (statbuf, 0, sizeof *statbuf); if (diskfs_readonly) statbuf->f_flag |= ST_RDONLY; |