summaryrefslogtreecommitdiff
path: root/ftpfs/netfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/netfs.c')
-rw-r--r--ftpfs/netfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftpfs/netfs.c b/ftpfs/netfs.c
index 5359acb9..cf5d9079 100644
--- a/ftpfs/netfs.c
+++ b/ftpfs/netfs.c
@@ -385,7 +385,7 @@ error_t
netfs_attempt_statfs (struct iouser *cred, struct node *node,
struct statfs *st)
{
- bzero (st, sizeof *st);
+ memset (st, 0, sizeof *st);
st->f_type = FSTYPE_FTP;
st->f_fsid = getpid ();
return 0;