git: e0f29ad461d8 - stable/13 - bsdinstall: add missing init of fd variable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jan 2024 00:23:13 UTC
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 &&