Subject: One more maclabel.c patch
To: None <port-mac68k@netbsd.org, port-macppc@netbsd.org>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 10/18/1999 11:54:15
I forgot to clear the disklabel structure before calling the routine, so
somethimes it will find garbage in partitions d & e.

Please apply this patch after the other patch & see how it does.

Take care,

Bill

--- maclabel.c.1	Mon Oct 18 10:03:56 1999
+++ maclabel.c	Mon Oct 18 10:04:22 1999
@@ -381,6 +381,8 @@
 	char			buf[512];
 	struct	partition	*pp;
 
+	bzero(&dl, sizeof(dl));
+
 	if (argc != 2)
 		errx(1, "Usage: %s <path-name>", argv[0]);