Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 May 2022 15:24:21 GMT
From:      Brad Davis <brd@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 2c4499dcd72a - main - bsdinstall: add missing init of fd variable
Message-ID:  <202205131524.24DFOLNY067189@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brd:

URL: https://cgit.FreeBSD.org/src/commit/?id=2c4499dcd72a335a72341492e37f859eed422a6f

commit 2c4499dcd72a335a72341492e37f859eed422a6f
Author:     Brad Davis <brd@FreeBSD.org>
AuthorDate: 2022-05-13 15:06:02 +0000
Commit:     Brad Davis <brd@FreeBSD.org>
CommitDate: 2022-05-13 15:06:02 +0000

    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 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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205131524.24DFOLNY067189>