git: 49f4e3d297d2 - main - pkg: Fix two typos in visible error messages
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Jan 2025 12:59:44 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/src/commit/?id=49f4e3d297d26ce6b8e2a2b790bc6357edd064c4
commit 49f4e3d297d26ce6b8e2a2b790bc6357edd064c4
Author: Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2025-01-14 12:58:53 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2025-01-14 12:58:53 +0000
pkg: Fix two typos in visible error messages
No functional changes.
---
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 23bccb7eb96e..fe1599f42c2c 100644
--- a/usr.sbin/pkg/config.c
+++ b/usr.sbin/pkg/config.c
@@ -342,7 +342,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);
free(repo->url);
free(repo->name);
@@ -441,7 +441,7 @@ read_conf_file(const char *confpath, const char *requested_repo,
ucl_object_t *obj = NULL;
const char *abi = pkg_get_myabi();
if (abi == NULL)
- errx(EXIT_FAILURE, "Fail do determine ABI");
+ errx(EXIT_FAILURE, "Failed to determine ABI");
p = ucl_parser_new(0);
ucl_parser_register_variable(p, "ABI", abi);