From adf0e8c9427de6dbe934cadaac05ff42e0e319f2 Mon Sep 17 00:00:00 2001 From: kn Date: Wed, 17 Apr 2024 04:36:39 +0000 Subject: [PATCH] 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 --- distrib/arm64/ramdisk/install.md | 6 +++--- 1 file 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 -- 2.20.1