summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-09-30 18:21:05 +0000
committerphk <phk@FreeBSD.org>2005-09-30 18:21:05 +0000
commitb23c35710b47f806cbda2370a0b4d1599fb9de8a (patch)
treeeb05411a03ef757323383f2eb5a284798d2b3785 /sys/fs/nwfs
parent7dfe92499b7e0ea087caa4e1dbc1079abe841768 (diff)
downloadFreeBSD-src-b23c35710b47f806cbda2370a0b4d1599fb9de8a.zip
FreeBSD-src-b23c35710b47f806cbda2370a0b4d1599fb9de8a.tar.gz
The NWFS code in RELENG_6 is broken due to a typo in
sys/fs/nwfs/nwfs_vfsop= s.c, introduced with the conversion to nmount with revision 1.38. This causes mount_nwfs to fail with the error message: mount_nwfs: mount error: /mnt/netware: syserr = No such file or directo= ry This is caused by a typo on line 178, which specifies "nwfw_args" rather than "nwfs_args". Submitted by: Antony Mawer <gnats@mawer.org> Fat fingers: phk PR: 86757 MFC: 3 days
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 604b6ec..2f0ba1f 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -175,7 +175,7 @@ static int nwfs_mount(struct mount *mp, struct thread *td)
nwfs_printf("MNT_UPDATE not implemented");
return (EOPNOTSUPP);
}
- error = vfs_copyopt(mp->mnt_optnew, "nwfw_args", &args, sizeof args);
+ error = vfs_copyopt(mp->mnt_optnew, "nwfs_args", &args, sizeof args);
if (error)
return (error);
if (args.version != NWFS_VERSION) {
OpenPOWER on IntegriCloud