Subject: -current problem on atari
To: None <current-users@NetBSD.ORG>
From: maximum entropy <entropy@zippy.bernstein.com>
List: current-users
Date: 02/19/1998 14:46:40
Hi,

It's not possible to build a GENERIC atari kernel right now.  In
/sys/kern/kern_subr.c around line 440 is a chunk of code that's #ifdef
MEMORY_DISK_HOOKS.  This code uses the variable ``i'' which is
undeclared.

Could someone please fix this?

Many thanks,
entropy

--- /sys/kern/kern_subr.c.orig	Thu Feb 19 09:50:19 1998
+++ /sys/kern/kern_subr.c	Thu Feb 19 09:49:32 1998
@@ -428,6 +428,9 @@
 	struct vfsops *vops;
 	extern int (*mountroot) __P((void));
 	static struct devnametobdevmaj *last_nam2blk;
+#ifdef MEMORY_DISK_HOOKS
+	int i;
+#endif
 
 	if (nam2blk == NULL) {
 		if (last_nam2blk == NULL)


--
entropy -- it's not just a good idea, it's the second law.