diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 05:07:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1995-11-13 05:07:17 +0000 |
commit | 34113831c469feef7f2a78017de95046a853e474 (patch) | |
tree | 3e3f59cee212beecbd701b5201c1c2643bb96807 /sbin/mountd | |
parent | dc8c9af8ec487b32d275fd017f58cdac9d67fd43 (diff) |
fix mounting two filesystems on the same point; from osymh@gemini.oscs.montana.edu; netbsd pr#1722
Diffstat (limited to 'sbin/mountd')
-rw-r--r-- | sbin/mountd/mountd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mountd/mountd.c b/sbin/mountd/mountd.c index c4b4afff932..133e6a490ef 100644 --- a/sbin/mountd/mountd.c +++ b/sbin/mountd/mountd.c @@ -653,6 +653,7 @@ get_exportlist() !strncmp(fsp->f_fstypename, MOUNT_MSDOS, MFSNAMELEN) || !strncmp(fsp->f_fstypename, MOUNT_ADOSFS, MFSNAMELEN) || !strncmp(fsp->f_fstypename, MOUNT_CD9660, MFSNAMELEN)) { + bzero((char *)&targs, sizeof(targs)); targs.ua.fspec = NULL; targs.ua.export.ex_flags = MNT_DELEXPORT; if (mount(fsp->f_fstypename, fsp->f_mntonname, |