summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2013-12-28 15:03:47 +0000
committerjsing <jsing@openbsd.org>2013-12-28 15:03:47 +0000
commite65b5e1b1694715f320f6f79e79b0d74e1c2e442 (patch)
treebbba55b2785e6f53bac3e714eeef6d5192dfea41
parentAdd installboot support for sparc64. (diff)
downloadwireguard-openbsd-e65b5e1b1694715f320f6f79e79b0d74e1c2e442.tar.xz
wireguard-openbsd-e65b5e1b1694715f320f6f79e79b0d74e1c2e442.zip
sparc64 uses /ofwboot as the second stage, not /boot.
-rw-r--r--usr.sbin/installboot/sparc64/sparc64_installboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/installboot/sparc64/sparc64_installboot.c b/usr.sbin/installboot/sparc64/sparc64_installboot.c
index aafbf39510c..80549d3d150 100644
--- a/usr.sbin/installboot/sparc64/sparc64_installboot.c
+++ b/usr.sbin/installboot/sparc64/sparc64_installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sparc64_installboot.c,v 1.1 2013/12/28 14:45:57 jsing Exp $ */
+/* $OpenBSD: sparc64_installboot.c,v 1.2 2013/12/28 15:03:47 jsing Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
@@ -38,7 +38,7 @@ md_init(void)
{
stages = 2;
stage1 = "/usr/mdec/bootblk";
- stage2 = "/boot";
+ stage2 = "/ofwboot";
}
void