git: 34f6e5e7aff7 - stable/12 - cpucontrol(8): Fix a typo in an error message

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 02 Feb 2022 08:50:55 UTC
The branch stable/12 has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=34f6e5e7aff75ea030fff60aaa02785f26bb7da6

commit 34f6e5e7aff75ea030fff60aaa02785f26bb7da6
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-01-26 09:36:42 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-02-02 08:50:45 +0000

    cpucontrol(8): Fix a typo in an error message
    
    - s/incorret/incorrect/
    
    (cherry picked from commit ee6d379be73707bcc99ba8bff7bae85708469f9b)
---
 usr.sbin/cpucontrol/amd10h.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/cpucontrol/amd10h.c b/usr.sbin/cpucontrol/amd10h.c
index ca2bba70dc47..5d3c4a1ac003 100644
--- a/usr.sbin/cpucontrol/amd10h.c
+++ b/usr.sbin/cpucontrol/amd10h.c
@@ -217,7 +217,7 @@ amd10h_update(const struct ucode_update_params *params)
 		fw_size -= sizeof(*section_header);
 		if (section_header->type != AMD_10H_uCODE_TYPE) {
 			WARNX(2, "%s is not a valid amd firmware: "
-			    "section has incorret type", path);
+			    "section has incorrect type", path);
 			goto done;
 		}
 		if (section_header->size > fw_size) {