From 2c4499dcd72a335a72341492e37f859eed422a6f Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Fri, 13 May 2022 09:06:02 -0600 Subject: [PATCH] bsdinstall: add missing init of fd variable Missed breaking this commit into smaller pieces Approved by: kp --- usr.sbin/bsdinstall/partedit/part_wizard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/partedit/part_wizard.c b/usr.sbin/bsdinstall/partedit/part_wizard.c index bc6427f859d..a030608ac76 100644 --- a/usr.sbin/bsdinstall/partedit/part_wizard.c +++ b/usr.sbin/bsdinstall/partedit/part_wizard.c @@ -105,7 +105,7 @@ boot_disk_select(struct gmesh *mesh) const char *type, *desc; char diskdesc[512]; char *chosen; - int i, button, selected, n = 0; + int i, button, fd, selected, n = 0; struct bsddialog_conf conf; bsddialog_initconf(&conf);