Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Feb 2003 08:08:02 -0800 (PST)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 24903 for review
Message-ID:  <200302091608.h19G828Q091946@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302091608.h19G828Q091946>