From 73a2c3a32eea5f2b37a545986aba2d63b9dd87e5 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Fri, 30 Sep 2005 18:21:05 +0000 Subject: [PATCH] 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 Fat fingers: phk PR: 86757 MFC: 3 days --- sys/fs/nwfs/nwfs_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index 604b6ec10d4c..2f0ba1fc93c9 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) {