diff options
Diffstat (limited to 'sys/miscfs/fuse/fuse_vfsops.c')
-rw-r--r-- | sys/miscfs/fuse/fuse_vfsops.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/miscfs/fuse/fuse_vfsops.c b/sys/miscfs/fuse/fuse_vfsops.c index ac4c7e5f1cf..61396f580e2 100644 --- a/sys/miscfs/fuse/fuse_vfsops.c +++ b/sys/miscfs/fuse/fuse_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fuse_vfsops.c,v 1.34 2018/04/27 10:13:37 mpi Exp $ */ +/* $OpenBSD: fuse_vfsops.c,v 1.35 2018/05/15 11:57:32 helg Exp $ */ /* * Copyright (c) 2012-2013 Sylvestre Gallon <ccna.syl@gmail.com> * @@ -109,11 +109,11 @@ fusefs_mount(struct mount *mp, const char *path, void *data, mp->mnt_flag |= MNT_LOCAL; vfs_getnewfsid(mp); - bzero(mp->mnt_stat.f_mntonname, MNAMELEN); + memset(mp->mnt_stat.f_mntonname, 0, MNAMELEN); strlcpy(mp->mnt_stat.f_mntonname, path, MNAMELEN); - bzero(mp->mnt_stat.f_mntfromname, MNAMELEN); + memset(mp->mnt_stat.f_mntfromname, 0, MNAMELEN); strlcpy(mp->mnt_stat.f_mntfromname, "fusefs", MNAMELEN); - bzero(mp->mnt_stat.f_mntfromspec, MNAMELEN); + memset(mp->mnt_stat.f_mntfromspec, 0, MNAMELEN); strlcpy(mp->mnt_stat.f_mntfromspec, "fusefs", MNAMELEN); fuse_device_set_fmp(fmp, 1); |