From: kn Date: Mon, 22 May 2023 23:32:31 +0000 (+0000) Subject: Drop unused md_prep_fdisk() argument in disk crypto question handler X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f6b8ea6e542ee6dbcfd275d61cfc47a2dcfb66c6;p=openbsd Drop unused md_prep_fdisk() argument in disk crypto question handler It takes just one, the disk; the second snuck from earlier development into the intial r1.1231 commit. --- diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index a90f0955c2f..d3b87bca933 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: install.sub,v 1.1246 2023/05/20 20:00:28 kn Exp $ +# $OpenBSD: install.sub,v 1.1247 2023/05/22 23:32:31 kn Exp $ # # Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback # Copyright (c) 2015, Robert Peichaer @@ -3105,7 +3105,7 @@ __EOT echo "\nConfiguring the crypto chunk $_chunk...\n" make_dev $_chunk - md_prep_fdisk $_chunk softraid + md_prep_fdisk $_chunk echo 'RAID *' | disklabel -w -A -T- $_chunk until bioctl -c C -l ${_chunk}a softraid0 >/dev/null; do