git: e0c3bfb3f70b - stable/14 - pkg: Fix two typos in visible error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 22:10:35 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=e0c3bfb3f70b1db5e8a7581357ef9c1f3da23aa5
commit e0c3bfb3f70b1db5e8a7581357ef9c1f3da23aa5
Author: Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2025-01-14 12:58:53 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-05-06 22:10:06 +0000
pkg: Fix two typos in visible error messages
No functional changes.
(cherry picked from commit 49f4e3d297d26ce6b8e2a2b790bc6357edd064c4)
---
usr.sbin/pkg/config.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/pkg/config.c b/usr.sbin/pkg/config.c
index 44543f304657..5ceaaa5021eb 100644
--- a/usr.sbin/pkg/config.c
+++ b/usr.sbin/pkg/config.c
@@ -352,7 +352,7 @@ parse_signature_type(struct repository *repo, const char *st)
else if (strcasecmp(st, "NONE") == 0)
repo->signature_type = SIGNATURE_NONE;
else {
- warnx("Signature type %s is not supported for bootstraping,"
+ warnx("Signature type %s is not supported for bootstrapping,"
" ignoring repository %s", st, repo->name);
return (false);
}
@@ -484,7 +484,7 @@ read_conf_file(const char *confpath, const char *requested_repo,
if (uname(&uts))
err(EXIT_FAILURE, "uname");
if (abi == NULL)
- errx(EXIT_FAILURE, "Fail do determine ABI");
+ errx(EXIT_FAILURE, "Failed to determine ABI");
p = ucl_parser_new(0);
asprintf(&major, "%d", __FreeBSD_version/100000);