Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Apr 2002 07:55:53 -0700 (PDT)
From:      Jake Burkholder <jake@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10227 for review
Message-ID:  <200204241455.g3OEtr032258@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10227

Change 10227 by jake@jake_sparc64 on 2002/04/24 07:55:11

	Fix bug, || should be &&.

Affected files ...

... //depot/projects/sparc64/sys/boot/sparc64/loader/main.c#24 edit

Differences ...

==== //depot/projects/sparc64/sys/boot/sparc64/loader/main.c#24 (text+ko) ====

@@ -336,7 +336,7 @@
 		if (OF_getprop(child, "device_type", buf, sizeof(buf)) > 0 &&
 		    strcmp(buf, "cpu") == 0) {
 			if (OF_getprop(child, "upa-portid", &cpu,
-			    sizeof(cpu)) == -1 || OF_getprop(child, "portid",
+			    sizeof(cpu)) == -1 && OF_getprop(child, "portid",
 			    &cpu, sizeof(cpu)) == -1)
 				panic("main: OF_getprop");
 			if (cpu == bootcpu)

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?200204241455.g3OEtr032258>