git: ee6d379be737 - main - cpucontrol(8): Fix a typo in an error message

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Wed, 26 Jan 2022 09:37:03 UTC
The branch main has been updated by gbe (doc committer):

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

commit ee6d379be73707bcc99ba8bff7bae85708469f9b
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-01-26 09:36:42 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-01-26 09:36:42 +0000

    cpucontrol(8): Fix a typo in an error message
    
    - s/incorret/incorrect/
    
    MFC after:      1 week
---
 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) {