From nobody Mon Dec 13 08:10:42 2021 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 9F35018DE036; Mon, 13 Dec 2021 08:10:43 +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 4JCDhy47fKz3m4X; Mon, 13 Dec 2021 08:10:42 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 429B8112B6; Mon, 13 Dec 2021 08:10:42 +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 1BD8Ag0N083916; Mon, 13 Dec 2021 08:10:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BD8AgEl083915; Mon, 13 Dec 2021 08:10:42 GMT (envelope-from git) Date: Mon, 13 Dec 2021 08:10:42 GMT Message-Id: <202112130810.1BD8AgEl083915@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 1de4665dfcd7 - main - kbdmap: adapt to the new libbsddialog API 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: bapt X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1de4665dfcd7e158b09757dba31648397cd11c81 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639383042; 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=hi/Oa4j0wjMTaEVQgosjVJWuLNAebvkIAVGxImZ5rT4=; b=WxMO/klyC1jRq5gY5MyzqnyE6whOC9KgEO/yN91szmZ4j5h+Ak1XpGJXN1Pl0vTRPlosvx 5ZfyfQQYx836gfLdRllxlC+XwRi3EvFH6qlvHHo6NhBaV0FY5OKq4C52QYg16R5PZoTTDk AukPl2qLmS1L1a2lEpy5xwNTdaLScLSXEEUmzi9hkZTuR1QluDUR/oxNbIZgMMlxs0ihLE Imeihi82CFoA7enikDad9UJqy5G/fSHABGmS5YFnFjEk6PCXyDoPRG6Lln9CXk5fQXh7Z2 v8s9N1hTocx5v+LYh32cpNY8IGeiBSfyW8hynrdAvzcDdmA73EwG6ge2/lpYdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639383042; a=rsa-sha256; cv=none; b=pr4DhJeAxbmoxKKilqzPT7JXFKcoCzeqn5DSZ6OncwSSMMYyi77j/jZFH6vTiY0vDt4fPd Tg27amITrjQbM/wLmmJlTG2luHVHRZyKLWsWHp3i7vfoQ1nmyWpjkMoDWaipGGJsA9LIHF TjD+6e+kLb8Ebb7fH1VvrLAfQhZP+7PzCjrt8k099rVABFq2cK9f++UY7poxnSwXt+4DFr 67jQ8PJArCuv2l2oB2I8630fhcAdhCvzyWUd5rRjTo7OnLNp/QmBLvzmKK1Be+jFTpWLtE DVJjePyc2XqlXjw49KQ229bodv48BUbGikhpDWLlnQGVD+EymJJynaHG4Sq7wA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=1de4665dfcd7e158b09757dba31648397cd11c81 commit 1de4665dfcd7e158b09757dba31648397cd11c81 Author: Alfonso Siciliano AuthorDate: 2021-12-13 08:06:21 +0000 Commit: Baptiste Daroussin CommitDate: 2021-12-13 08:08:09 +0000 kbdmap: adapt to the new libbsddialog API Differential Revision: https://reviews.freebsd.org/D33398 --- usr.sbin/kbdmap/kbdmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/kbdmap/kbdmap.c b/usr.sbin/kbdmap/kbdmap.c index c3ed13237b8d..ef6e4812a3fc 100644 --- a/usr.sbin/kbdmap/kbdmap.c +++ b/usr.sbin/kbdmap/kbdmap.c @@ -392,7 +392,7 @@ show_dialog(struct keymap **km_sorted, int num_keymaps) num_keymaps, listitems, NULL); bsddialog_end(); switch (result) { - case BSDDIALOG_YESOK: + case BSDDIALOG_OK: for (i = 0; i < num_keymaps; i++) { if (listitems[i].on) { printf("ici\n");