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

next in thread | raw e-mail | index | archive | help

http://perforce.freebsd.org/chv.cgi?CH=24899

Change 24899 by jmallett@jmallett_dalek on 2003/02/09 07:24:12

	Add an FX_NAMELEN define for the length of names in the in-header
	store.

Affected files ...

.. //depot/projects/mips/sys/sys/diskfx.h#4 edit

Differences ...

==== //depot/projects/mips/sys/sys/diskfx.h#4 (text+ko) ====

@@ -32,6 +32,7 @@
 #define	FX_DIRSIZE	15
 #define	FX_NPARTS	16
 #define	FX_VOLHDRPART	8
+#define	FX_NAMELEN	8
 
 static const char *fx_typename[] = {
 	"Volume Header",
@@ -77,7 +78,7 @@
 } __packed;
 
 struct voldir {
-	char		vd_name[8];
+	char		vd_name[FX_NAMELEN];
 	int32_t		vd_addr;	/* In blocks. */
 	int32_t		vd_size;	/* In bytes. */
 } __packed;

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?200302091525.h19FP8GK077470>