From owner-svn-src-head@FreeBSD.ORG Wed Jan 28 19:09:49 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E7B121065672; Wed, 28 Jan 2009 19:09:49 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D62938FC20; Wed, 28 Jan 2009 19:09:49 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0SJ9ncP029761; Wed, 28 Jan 2009 19:09:49 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0SJ9nog029760; Wed, 28 Jan 2009 19:09:49 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200901281909.n0SJ9nog029760@svn.freebsd.org> From: Warner Losh Date: Wed, 28 Jan 2009 19:09:49 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187840 - head/sys/fs/cd9660 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 19:09:50 -0000 Author: imp Date: Wed Jan 28 19:09:49 2009 New Revision: 187840 URL: http://svn.freebsd.org/changeset/base/187840 Log: 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. Modified: head/sys/fs/cd9660/cd9660_vfsops.c Modified: head/sys/fs/cd9660/cd9660_vfsops.c ============================================================================== --- head/sys/fs/cd9660/cd9660_vfsops.c Wed Jan 28 19:05:18 2009 (r187839) +++ head/sys/fs/cd9660/cd9660_vfsops.c Wed Jan 28 19:09:49 2009 (r187840) @@ -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