summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/ufsread.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/ufsread.c')
-rw-r--r--sys/boot/common/ufsread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/common/ufsread.c b/sys/boot/common/ufsread.c
index b0a1547..3949deb 100644
--- a/sys/boot/common/ufsread.c
+++ b/sys/boot/common/ufsread.c
@@ -122,7 +122,9 @@ lookup(const char *path)
return dt == DT_REG ? ino : 0;
}
+#ifndef __sparc64__
#define UFS1_ONLY
+#endif
#ifdef UFS1_ONLY
static ssize_t
OpenPOWER on IntegriCloud