From nobody Fri Jan 05 00:23:13 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T5kh21dYYz55fRJ; Fri, 5 Jan 2024 00:23:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T5kh14cgNz4dgG; Fri, 5 Jan 2024 00:23:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704414193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UVKQOBEtHhRQ56Q4O5J+sw/nxFQTtvaK6lD2ImPLfhQ=; b=Zq3n4uNtdoclzilwDi8zwEse8+9fQ0Oe1gTSeMZ/Zzyc7K7K+nUtdcuHR1z4YtMxJxTCZG dDz4OKUMkGleBa9Yo2KpmU0d4Xbrue3Wh9IeeuoMykwcJEf4pMoytEu/52hYo9ih6ocZED Jo4gJEhaWttttE73h9ZzdZKruVm6O6kWbj0MA6mH0vv5AKqmHolDFBnI0b4AFt6VoRtQMX CVZTs59aLm+PR2dc4n0Aec5MGXO4qPiyF8IXhKYPPCozHRZqvsr0bB25JoXqsNzg1iLaUw Px5fKGxpusPRzuVm1VIGwOS9Pauz4MZmp4zTLUE1IZS+yeKZ7zQeNwt4PvtMKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704414193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UVKQOBEtHhRQ56Q4O5J+sw/nxFQTtvaK6lD2ImPLfhQ=; b=ZanlUclyB5qkxibjXxMb7YH+zBfq/IX6NsMpDuHZXeB9qHZ7aUSiNtoF9KCt9ebT5QhNAe KyUwAk0GTJStUYjlMHSTRonLZKzv/sYhSO6pAT2Xi6TD2vGJUSdkVm/texasnPpaYVw+Ew CBNJZisMjivBuy87jAehW2qs8I1cF4dsF4kTQnhpdNmDCi40evOjlj9A1EAHVO4tIBbxaC wIDvqOnPTVhXvKcEBcclFLZxH4N7NqdsvVAVPJyYmAqWD5wzOCCzTXUhhojjMrAecfeqqA c1lUF6PzfXMCI0DZMwdTJu+iuoeacCWmidJnPJqs7DuLx+aaeavUdf6yPX6/TA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704414193; a=rsa-sha256; cv=none; b=l4OdmJcMdLSrKJIho0bUVgmnMYAYEIRLU9TIqk51MgzjIF2eYuo4Pe73/hzHCSKW1XZksO t5B3wq3D8g+QzbnCx2c0x5lTZxZu+Ulbfqbh1/C/0UXhC3onrQGAxHtUpcpshZYdADB+0G RjNk+F53ZevZgBH8cxqZKD/BH0Od6YQjmofufmnSN8p3BV+oIagBDmD8StuV8Mko7mTQCM A5yhvkGvMRrEyaiPvx001vvqHqeCMBpfYRyTNNE1l1bd2vtzaCE9Wy6uuN9OwEyTugzOT4 Yrzxiuy8OetF+sAbUQEt37fVpS0hz+4+s9XRGL0rBCQmxMhTZAPSvgs9IBTnzQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T5kh13YtbzbqS; Fri, 5 Jan 2024 00:23:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4050ND55025635; Fri, 5 Jan 2024 00:23:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4050NDRF025632; Fri, 5 Jan 2024 00:23:13 GMT (envelope-from git) Date: Fri, 5 Jan 2024 00:23:13 GMT Message-Id: <202401050023.4050NDRF025632@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: e0f29ad461d8 - stable/13 - bsdinstall: add missing init of fd variable List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: e0f29ad461d8473ad96c37e5d494833958f72844 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=e0f29ad461d8473ad96c37e5d494833958f72844 commit e0f29ad461d8473ad96c37e5d494833958f72844 Author: Brad Davis AuthorDate: 2022-05-13 15:06:02 +0000 Commit: John Baldwin 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 &&