From nobody Wed Dec 08 13:39:20 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 51BA618D506E; Wed, 8 Dec 2021 13:39: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 4J8JDT0PYBz3mQb; Wed, 8 Dec 2021 13:39:21 +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 E2912142B7; Wed, 8 Dec 2021 13:39:20 +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 1B8DdKjZ098105; Wed, 8 Dec 2021 13:39:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B8DdKjJ098104; Wed, 8 Dec 2021 13:39:20 GMT (envelope-from git) Date: Wed, 8 Dec 2021 13:39:20 GMT Message-Id: <202112081339.1B8DdKjJ098104@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 547fc67fecea - main - tzsetup: Default to UTC 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 547fc67fecea51033a4b001d5b589f0e6cf8d820 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638970761; 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=5yZswSXWigjMOC4eohPbGTXLMTolvK2iEvKeByHrlxc=; b=OoP3SITGvaa74KfA77BrV6wX4hy+aNCQRoY3mZOBnXww9s55u1HDHDvDfkblXg/EEWG5Lj J76NoY99xyY+f+f1gqlSKu06fw+Wrm8yQxhkDH+39d2uN2lfMlhVEhFMGzGdzXdb3FRYcR TbjFWk08TGdttMaQ38E2KJFcL8l8V/tYKaCMHFzIEGthVqEinehfYJs+GhO+kcwQIGdKg0 hNv6qbbT7mnbYA78vg3dLZVC7g+gQed5wKri4tVmuU/vyLpIpZg6RXdFzTMP9jLa6wZmSb pYPeJbLOGlLzIODP1RN7Nf8Y9y7PEIf7tqdf8OuCQVUObvfXbeix3tyx7/sRTw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638970761; a=rsa-sha256; cv=none; b=AtoDrWSze1KgxOmXMxGCXHgCT1nGbzNiyBd/6P4T6j9hqj6ydG+Xg/itjpZiKw5ERJMdES 6sOcPgw3ilQx9KpL53dgxHlEvjJH82jRzVoUl2XaRLL2IL3FoINludlZMzskwk3xVuGt5N xivtL81zmEKO8OBBFiyLyWrXEOmExJAsNTYD+GujNdo6aIiDHEhXA6JZk7t7amwXHQWbrq 5LFHfRW4iNbACqygs+Tlz1WIrw5wRx3rJubr7H7W37KDiGGdRcZ/sAyGfFmH44XLzlWjhA DkncC8rlni18KCKq1D8Qr53SBP69UxV6+iunymNnVFK4WXx2anGPB74xrgY6Mg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=547fc67fecea51033a4b001d5b589f0e6cf8d820 commit 547fc67fecea51033a4b001d5b589f0e6cf8d820 Author: Emmanuel Vadot AuthorDate: 2021-12-08 12:51:59 +0000 Commit: Emmanuel Vadot CommitDate: 2021-12-08 13:39:00 +0000 tzsetup: Default to UTC Restore old behavior. Fixes: f872dde34c ("tzsetup: replace libdialog with libbsddialog") Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D33334 Sponsored by: Beckhoff Automation GmbH & Co. KG --- usr.sbin/tzsetup/tzsetup.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index 9283cb380808..89623293e5ea 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -1028,10 +1028,9 @@ main(int argc, char **argv) "If it is set to local time,\n" "or you don't know, please choose NO here!"); - conf.button.defaultno = true; + conf.button.defaultno = false; conf.title = "Select local or UTC (Greenwich Mean Time) clock"; yesno = bsddialog_yesno(&conf, prompt, 7, 73); - conf.button.defaultno = false; if (!yesno) { if (reallydoit) unlink(path_wall_cmos_clock);