From owner-p4-projects Sun Feb 9 8: 8: 5 2003 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id AA4C237B405; Sun, 9 Feb 2003 08:08:03 -0800 (PST) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3AD3837B401 for ; Sun, 9 Feb 2003 08:08:03 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC25B43F85 for ; Sun, 9 Feb 2003 08:08:02 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h19G82bv091949 for ; Sun, 9 Feb 2003 08:08:02 -0800 (PST) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h19G828Q091946 for perforce@freebsd.org; Sun, 9 Feb 2003 08:08:02 -0800 (PST) Date: Sun, 9 Feb 2003 08:08:02 -0800 (PST) Message-Id: <200302091608.h19G828Q091946@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett Subject: PERFORCE change 24903 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://perforce.freebsd.org/chv.cgi?CH=24903 Change 24903 by jmallett@jmallett_dalek on 2003/02/09 08:07:26 Add a compile-time assert on the size of the on-disk structure. Suggested by phk. Affected files ... .. //depot/projects/mips/sys/sys/diskfx.h#5 edit Differences ... ==== //depot/projects/mips/sys/sys/diskfx.h#5 (text+ko) ==== @@ -101,4 +101,8 @@ int32_t vh_unused; } __packed; +#ifdef CTASSERT +CTASSERT(sizeof (struct volhdr) == 512); +#endif + #endif /* _SYS_DISKFX_H_ */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message