git: 40b57cb616ca - main - tzsetup: be explicit about *timezone* abbreviation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Apr 2024 13:56:22 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=40b57cb616ca19aee3de104acd058da289c936bb
commit 40b57cb616ca19aee3de104acd058da289c936bb
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-03-25 20:25:23 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-04-16 13:55:46 +0000
tzsetup: be explicit about *timezone* abbreviation
During the install process tzsetup asks a question like
Does the abbreviation `EDT' look reasonable?
The installer asks lots of questions, some that relate to the previous
screen or topic and some that do not. A new user installed FreeBSD for
the first time and was confused by this question, not realizing that it
was asking whether the abbreviation is correct for the selected
timezone.
Reviewed by: bapt, brooks, imp
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D44500
---
usr.sbin/tzsetup/tzsetup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c
index 9610023ec3ea..fee5762b6fa6 100644
--- a/usr.sbin/tzsetup/tzsetup.c
+++ b/usr.sbin/tzsetup/tzsetup.c
@@ -709,7 +709,7 @@ confirm_zone(const char *filename)
tm = localtime(&t);
snprintf(prompt, sizeof(prompt),
- "Does the abbreviation `%s' look reasonable?", tm->tm_zone);
+ "Does the timezone abbreviation `%s' look reasonable?", tm->tm_zone);
conf.title = "Confirmation";
rv = (bsddialog_yesno(&conf, prompt, 5, 72) == BSDDIALOG_YES);
return (rv);