aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2022-05-13 15:06:02 +0000
committerBrad Davis <brd@FreeBSD.org>2022-05-13 15:06:02 +0000
commit2c4499dcd72a335a72341492e37f859eed422a6f (patch)
tree43e71741d0cd7836fe434385afae17289d2a5bae
parent964ad27f1e48ec28247142cfe6afdfa1f8bd3182 (diff)
downloadsrc-2c4499dcd72a335a72341492e37f859eed422a6f.tar.gz
src-2c4499dcd72a335a72341492e37f859eed422a6f.zip
bsdinstall: add missing init of fd variable
Missed breaking this commit into smaller pieces Approved by: kp
-rw-r--r--usr.sbin/bsdinstall/partedit/part_wizard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/partedit/part_wizard.c b/usr.sbin/bsdinstall/partedit/part_wizard.c
index bc6427f859da..a030608ac764 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);