summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorKlemens Nanni <kn@cvs.openbsd.org>2024-04-17 04:36:40 +0000
committerKlemens Nanni <kn@cvs.openbsd.org>2024-04-17 04:36:40 +0000
commit20b9daa04c46398dcc38c173718f44be09a599ea (patch)
treefd2d7c4f84a85fdfe99b65213d0c1ffd217a8e43 /distrib
parent36ded17465c90aad61e51bb824a9164f89fc3bc7 (diff)
Use $_disk consistently over $1 in md_installboot(); no functional change
Somehow I did not amend those right away when adding local _disk in r1.43
Diffstat (limited to 'distrib')
-rw-r--r--distrib/arm64/ramdisk/install.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md
index 0c4a8dcd13c..51d20be4079 100644
--- a/distrib/arm64/ramdisk/install.md
+++ b/distrib/arm64/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.48 2023/10/11 17:53:52 kn Exp $
+# $OpenBSD: install.md,v 1.49 2024/04/17 04:36:39 kn Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -46,9 +46,9 @@ md_installboot() {
raspberrypi,*) _plat=rpi;;
esac
- if ! installboot -r /mnt ${1}; then
+ if ! installboot -r /mnt $_disk; then
echo "\nFailed to install bootblocks."
- echo "You will not be able to boot OpenBSD from ${1}."
+ echo "You will not be able to boot OpenBSD from $_disk."
exit
fi