summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_vfsops.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2009-01-28 19:09:49 +0000
committerimp <imp@FreeBSD.org>2009-01-28 19:09:49 +0000
commit7dcaa08f7f90f0b3c1ed4ee1f46114ebc5ce3888 (patch)
tree3b4680f043e0d6cf516edb879a70412887fbc425 /sys/fs/cd9660/cd9660_vfsops.c
parent04d889be2081c3db3e5265e235a679f41fe3399d (diff)
downloadFreeBSD-src-7dcaa08f7f90f0b3c1ed4ee1f46114ebc5ce3888.zip
FreeBSD-src-7dcaa08f7f90f0b3c1ed4ee1f46114ebc5ce3888.tar.gz
Use the correct field name for the size of the sierra_id. While this
is the same size as id, and is unlikely to change, it seems better to use the correct field here. There's no difference in the generated code.
Diffstat (limited to 'sys/fs/cd9660/cd9660_vfsops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 2dd27c5..b8ec72a 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -264,7 +264,7 @@ iso_mountfs(devvp, mp)
vdp = (struct iso_volume_descriptor *)bp->b_data;
if (bcmp (vdp->id, ISO_STANDARD_ID, sizeof vdp->id) != 0) {
if (bcmp (vdp->id_sierra, ISO_SIERRA_ID,
- sizeof vdp->id) != 0) {
+ sizeof vdp->id_sierra) != 0) {
error = EINVAL;
goto out;
} else
OpenPOWER on IntegriCloud