Subject: quirk
To: current-users <current-users@NetBSD.ORG>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: current-users
Date: 12/08/1997 20:37:21
Hi,

since somewhere between 1.2G and 1.3alpha, #defining DKTYPENAMES before
#including <sys/disklabel.h> defines three static arrays:

	static char *dktypenames[],
	static char *fstypenames[],

and, this is new,

	static char *fscknames[].

My mac68k floppy driver lkm makes use of the first two arrays but does
without the third, which breaks the code due to '-Wall -Werror'.

Would it make sense to #ifdef the third field separately (for the
/sbin/mount_XXX stuff) or do I have to fake an access and kludge around th
error?

	hauke


--
"It's never straight up and down"     (DEVO)