summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2008-01-10 22:25:21 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2008-01-10 22:25:21 +0000
commitd00f62f262e42fba50c23cce0e9f8afc5ea76b0c (patch)
treea987b6d520fdf1467c5034e309785f919101cbb6 /sys/arch
parent01d87e51768597f2939a2b899bf4851540d4899a (diff)
Fix {}
ok kettenis
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/sparc64/ofw_machdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/ofw_machdep.c b/sys/arch/sparc64/sparc64/ofw_machdep.c
index 312c35a5ee1..d2b5a0ef671 100644
--- a/sys/arch/sparc64/sparc64/ofw_machdep.c
+++ b/sys/arch/sparc64/sparc64/ofw_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ofw_machdep.c,v 1.21 2007/10/19 15:17:30 kettenis Exp $ */
+/* $OpenBSD: ofw_machdep.c,v 1.22 2008/01/10 22:25:20 marco Exp $ */
/* $NetBSD: ofw_machdep.c,v 1.16 2001/07/20 00:07:14 eeh Exp $ */
/*
@@ -919,12 +919,12 @@ OF_mapintr(int node, int *interrupt, int validlen, int buflen)
}
/* Get reg for the next level search. */
- if ((len = OF_getprop(node, "reg", &reg, sizeof(reg))) <= 0)
+ if ((len = OF_getprop(node, "reg", &reg, sizeof(reg))) <= 0) {
DPRINTF(("OF_mapintr: no reg property?\n"));
- else
+ } else {
DPRINTF(("reg len %d\n", len));
-
+ }
node = OF_parent(node);
- }
+ }
return (rc);
}