summaryrefslogtreecommitdiffstats
path: root/sys/isofs/cd9660
diff options
context:
space:
mode:
Diffstat (limited to 'sys/isofs/cd9660')
-rw-r--r--sys/isofs/cd9660/cd9660_vfsops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/isofs/cd9660/cd9660_vfsops.c b/sys/isofs/cd9660/cd9660_vfsops.c
index c944b5a..852a1a3 100644
--- a/sys/isofs/cd9660/cd9660_vfsops.c
+++ b/sys/isofs/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.
OpenPOWER on IntegriCloud