Date: Fri, 5 Jan 2024 00:23:13 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e0f29ad461d8 - stable/13 - bsdinstall: add missing init of fd variable Message-ID: <202401050023.4050NDRF025632@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e0f29ad461d8473ad96c37e5d494833958f72844 commit e0f29ad461d8473ad96c37e5d494833958f72844 Author: Brad Davis <brd@FreeBSD.org> AuthorDate: 2022-05-13 15:06:02 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2024-01-05 00:20:33 +0000 bsdinstall: add missing init of fd variable Missed breaking this commit into smaller pieces Approved by: kp (cherry picked from commit 2c4499dcd72a335a72341492e37f859eed422a6f) --- 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 b790e8b3c4d4..52f9ba9f9a5c 100644 --- a/usr.sbin/bsdinstall/partedit/part_wizard.c +++ b/usr.sbin/bsdinstall/partedit/part_wizard.c @@ -104,7 +104,7 @@ boot_disk_select(struct gmesh *mesh) const char *type, *desc; char diskdesc[512]; char *chosen; - int i, err, selected, n = 0; + int i, err, fd, selected, n = 0; LIST_FOREACH(classp, &mesh->lg_class, lg_class) { if (strcmp(classp->lg_name, "DISK") != 0 &&
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401050023.4050NDRF025632>