Module Name:    src
Committed By:   christos
Date:           Mon Jul 30 17:21:31 UTC 2012

Modified Files:
        src/sys/arch/sun3/sun3: autoconf.c

Log Message:
make this compile again


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/arch/sun3/sun3/autoconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/sun3/sun3/autoconf.c
diff -u src/sys/arch/sun3/sun3/autoconf.c:1.76 src/sys/arch/sun3/sun3/autoconf.c:1.77
--- src/sys/arch/sun3/sun3/autoconf.c:1.76	Sun Jul 29 14:05:46 2012
+++ src/sys/arch/sun3/sun3/autoconf.c	Mon Jul 30 13:21:31 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.76 2012/07/29 18:05:46 mlelstv Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.77 2012/07/30 17:21:31 christos Exp $	*/
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.76 2012/07/29 18:05:46 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.77 2012/07/30 17:21:31 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -217,7 +217,7 @@ cpu_rootconf(void)
 		}
 	if (find)
 		booted_device = (*find)(promname, bp->ctlrNum, bp->unitNum);
-	if (boot_device) {
+	if (booted_device) {
 		devname = booted_device->dv_xname;
 		if (device_class(booted_device) == DV_DISK) {
 			booted_partition = bp->partNum & 7;

Reply via email to