From 13dc81a40ffaa7b91681c26200787026aad3b3ad Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 7 Dec 2004 15:25:36 +0000 Subject: First save from editor, *then* commit. --- sys/fs/cd9660/cd9660_vfsops.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/fs/cd9660') diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index c944b5a..852a1a3 100644 --- a/sys/fs/cd9660/cd9660_vfsops.c +++ b/sys/fs/cd9660/cd9660_vfsops.c @@ -153,10 +153,9 @@ cd9660_mount(struct mount *mp, struct thread *td) if (mp->mnt_flag & MNT_UPDATE) { error = vfs_getopt(mp->mnt_optnew, "export", (void **)&export, &len); - if (error == 0 && len == sizeof *export && export.ex_flags) + if (error == 0 && len == sizeof *export && export->ex_flags) return (vfs_export(mp, export)); } - } /* * Not an update, or updating the name: look up the name * and verify that it refers to a sensible block device. -- cgit v1.1