From nobody Fri May 13 15:24:21 2022 X-Original-To: dev-commits-src-main@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 B5A2F1ACD2BA; Fri, 13 May 2022 15:24:21 +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 4L0C9d4jPkz3kpj; Fri, 13 May 2022 15:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652455461; 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=Hu8NIQqdTIHraBRBwo6MtwVzx73oixVAgch6Nm/2RyU=; b=yUIibXQs/aXDlHdOHYy3yyy7YyXgC7hmVmOxinaoRMpQlJoKhVJa0Bl/kbYwAB0p1lq1pc vLDkosaGuIDfERiGKjEbZvllyO9r7y2d/p17Mza/k2ZPv2XqoW/cgdZqxrmrzCqcLfpf7O XLc/A/EbC8zl0D/ui8H9zqIs+gKZbW7RayUkH8qhEGfaPda3s2Ex6Gro4G3Acahoj26VBv a+Q1aMcVoyZl4dbyetqp8xU2FhCKMfUVsdi5KKx8cMzQdSk8eOilhQee88riS3e8HW/a+n 5pyCaNrtmPKN1owvd32l54Om+BhT1DsL98kUF+f8HXz6Sx0NhDEab6tp16vH2Q== 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 819D025336; Fri, 13 May 2022 15:24:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24DFOLMv067190; Fri, 13 May 2022 15:24:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24DFOLNY067189; Fri, 13 May 2022 15:24:21 GMT (envelope-from git) Date: Fri, 13 May 2022 15:24:21 GMT Message-Id: <202205131524.24DFOLNY067189@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brad Davis Subject: git: 2c4499dcd72a - main - bsdinstall: add missing init of fd variable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brd X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2c4499dcd72a335a72341492e37f859eed422a6f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652455461; 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=Hu8NIQqdTIHraBRBwo6MtwVzx73oixVAgch6Nm/2RyU=; b=wQRdLGyHIB7uLZiXuAyCyptDEaNs/4YXXRY+vlkxuNplw3Fj+K86bwmvnetY1WZTO3skPE lcdOA/V+pvl0Q8GHGKB6Iab/lA9g5StHIvaxQ7vf1iE0FS3VljyZvQzzKuP32cfrnSRv7p EVeM24bLUwx3M/th48/wrCHAflengw2HLFuXKi81DLsGfFz7M9eWtFuh9syP4F2CaUA9/8 m8GkGqjlqkbHBmIufiD/qRRs36UC827UBM68YFdzsB1JBo6syDNmICPtuFdu6RPd+XDK3z BX0EygLUeDLPUicX1qLvi6U4BzBXliONjtRXNwkb4I43C3OzJrzGuB3lAwByQw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652455461; a=rsa-sha256; cv=none; b=waaMhz4fQMU0Etzw8n/U8fAa9UJyMtPQWTV7OBdLTYArHVFl2KYuo6EIh0KKLRAPUAVHsq tnFT5oTQHEfXYR+v6HeNTEV8iKqHdCX3rEbaoGEFGZzS+npGXUKK5peRdeb2hF1JHcUiM8 7LoBCBF86D0qMTaKt6pqKP0G7U92TlaqieGRVrB4NI6vEfJxTD/WIS/ZZuPoIjTj9MsXx4 kpNG6dgYlkzxexAEpLWTKb6u9rncjs8p9xxfqm4Rj79Qakyff/c8CY5duu6YeSV86qKB16 kh+14FG8MqzgkFiOPo+pIyDehnMzyOeo0SuZN+2Lb2LZq2iLYBr6nSlqp1UldQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brd: URL: https://cgit.FreeBSD.org/src/commit/?id=2c4499dcd72a335a72341492e37f859eed422a6f commit 2c4499dcd72a335a72341492e37f859eed422a6f Author: Brad Davis AuthorDate: 2022-05-13 15:06:02 +0000 Commit: Brad Davis 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);