From bb5d3b71d354d668b5860799e392bfe040ae7a72 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 28 Jan 2009 19:09:49 +0000 Subject: [PATCH] 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. --- sys/fs/cd9660/cd9660_vfsops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c index 2dd27c5dfe3..b8ec72adf14 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