aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2008-10-13 17:14:29 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2008-10-13 17:14:29 +0000
commitf184eace75c750ceac8a38e0fe5d9aba9a126964 (patch)
tree12666c8922a22c266300c7c0bb77754d5a3437a4 /sys
parent4560452f01c3f66f516746267e9a27013a6f79ae (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/ofw/libofw/ofw_disk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/ofw/libofw/ofw_disk.c b/sys/boot/ofw/libofw/ofw_disk.c
index e859c8fe09b0..c3649841c5e0 100644
--- a/sys/boot/ofw/libofw/ofw_disk.c
+++ b/sys/boot/ofw/libofw/ofw_disk.c
@@ -155,7 +155,9 @@ ofwd_close(struct open_file *f)
if (odp->count == 0) {
SLIST_REMOVE(&opened_devs, odp, opened_dev,
link);
+ #if !defined(__powerpc__)
OF_close(odp->handle);
+ #endif
free(odp);
}
break;