git: c7581d76a1e4 - main - loader: fix stupid typos

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 20 May 2024 05:06:05 UTC
The branch main has been updated by imp:

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

commit c7581d76a1e46a925bba59d3e18394908f65c907
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-05-20 05:04:18 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-05-20 05:04:18 +0000

    loader: fix stupid typos
    
    Sponsored by:           Netflix
---
 stand/libofw/ofw_console.c  | 2 +-
 stand/uboot/uboot_console.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/stand/libofw/ofw_console.c b/stand/libofw/ofw_console.c
index 75f9bfba0968..6925641eb606 100644
--- a/stand/libofw/ofw_console.c
+++ b/stand/libofw/ofw_console.c
@@ -41,7 +41,7 @@ static ihandle_t stdin;
 static ihandle_t stdout;
 
 struct console ofwconsole = {
-	.c_cname = "ofw",
+	.c_name = "ofw",
 	.c_desc = "Open Firmware console",
 	.c_probe = ofw_cons_probe,
 	.c_init = ofw_cons_init,
diff --git a/stand/uboot/uboot_console.c b/stand/uboot/uboot_console.c
index c02ba9aba5f0..b850a88c4018 100644
--- a/stand/uboot/uboot_console.c
+++ b/stand/uboot/uboot_console.c
@@ -42,7 +42,7 @@ struct console uboot_console = {
 	.c_probe = uboot_cons_probe,
 	.c_init = uboot_cons_init,
 	.c_out = uboot_cons_putchar,
-	.c_int = uboot_cons_getchar,
+	.c_in = uboot_cons_getchar,
 	.c_ready = uboot_cons_poll,
 };