Skip to contentSkip to conversation

char-win-stdio: fix typo in spelling of 'stdio'

PATCH In review Filip Hejsek 4 participants 4 messages Jun 18

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 char-win-stdio: fix typo in spelling of 'stdio'

---
 chardev/char-win-stdio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
chardev/char-win-stdio.c +3 -3
index bb9c195a8b..0deba3bffb 100644
@@ -128,7 +128,7 @@ static void win_stdio_thread_wait_func(void *opaque)
     SetEvent(stdio->hInputDoneEvent);
 }
 
-static void win_stiod_chr_set_echo(Chardev *chr, bool echo)
+static void win_stdio_chr_set_echo(Chardev *chr, bool echo)
 {
     WinStdioChardev *stdio = WIN_STDIO_CHARDEV(chr);
     DWORD              dwMode = 0;
@@ -205,7 +205,7 @@ static bool win_stdio_chr_open(Chardev *chr,
 
     SetConsoleMode(stdio->hStdIn, dwMode);
 
-    win_stiod_chr_set_echo(chr, false);
+    win_stdio_chr_set_echo(chr, false);
 
     qemu_chr_be_event(chr, CHR_EVENT_OPENED);
     return true;
@@ -263,7 +263,7 @@ static void char_win_stdio_class_init(ObjectClass *oc, const void *data)
 
     cc->chr_open = win_stdio_chr_open;
     cc->chr_write = win_stdio_chr_write;
-    cc->chr_set_echo = win_stiod_chr_set_echo;
+    cc->chr_set_echo = win_stdio_chr_set_echo;
 }
 
 static const TypeInfo char_win_stdio_type_info = {

---
base-commit: c7cf7c810153d6f5f31aa2d5c0dee9087f6b4dff
change-id: 20260618-char-win-stdio-typo-5abb197de4e2

Best regards,

Signature · 1 line
Filip Hejsek <[email protected]>
Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Filip Hejsek
Quoted 44 lines
---
 chardev/char-win-stdio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
chardev/char-win-stdio.c +3 -4
index bb9c195a8b..0deba3bffb 100644
@@ -128,7 +128,7 @@ static void win_stdio_thread_wait_func(void *opaque)
     SetEvent(stdio->hInputDoneEvent);
 }
 
-static void win_stiod_chr_set_echo(Chardev *chr, bool echo)
+static void win_stdio_chr_set_echo(Chardev *chr, bool echo)
 {
     WinStdioChardev *stdio = WIN_STDIO_CHARDEV(chr);
     DWORD              dwMode = 0;
@@ -205,7 +205,7 @@ static bool win_stdio_chr_open(Chardev *chr,
 
     SetConsoleMode(stdio->hStdIn, dwMode);
 
-    win_stiod_chr_set_echo(chr, false);
+    win_stdio_chr_set_echo(chr, false);
 
     qemu_chr_be_event(chr, CHR_EVENT_OPENED);
     return true;
@@ -263,7 +263,7 @@ static void char_win_stdio_class_init(ObjectClass *oc, const void *data)
 
     cc->chr_open = win_stdio_chr_open;
     cc->chr_write = win_stdio_chr_write;
-    cc->chr_set_echo = win_stiod_chr_set_echo;
+    cc->chr_set_echo = win_stdio_chr_set_echo;
 }
 
 static const TypeInfo char_win_stdio_type_info = {
 
---

base-commit: c7cf7c810153d6f5f31aa2d5c0dee9087f6b4dff
change-id: 20260618-char-win-stdio-typo-5abb197de4e2

Best regards,
--
Filip Hejsek <[email protected]>

Reviewed-by Stefan Weil on v1 1/1
#2 lore raw
In reply to Filip Hejsek

Am 18.06.26 um 13:20 schrieb Filip Hejsek:

Quoted 41 lines
---
  chardev/char-win-stdio.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
chardev/char-win-stdio.c +3 -4
index bb9c195a8b..0deba3bffb 100644
@@ -128,7 +128,7 @@ static void win_stdio_thread_wait_func(void *opaque)
      SetEvent(stdio->hInputDoneEvent);
  }
 
-static void win_stiod_chr_set_echo(Chardev *chr, bool echo)
+static void win_stdio_chr_set_echo(Chardev *chr, bool echo)
  {
      WinStdioChardev *stdio = WIN_STDIO_CHARDEV(chr);
      DWORD              dwMode = 0;
@@ -205,7 +205,7 @@ static bool win_stdio_chr_open(Chardev *chr,
 
      SetConsoleMode(stdio->hStdIn, dwMode);
 
-    win_stiod_chr_set_echo(chr, false);
+    win_stdio_chr_set_echo(chr, false);
 
      qemu_chr_be_event(chr, CHR_EVENT_OPENED);
      return true;
@@ -263,7 +263,7 @@ static void char_win_stdio_class_init(ObjectClass *oc, const void *data)
 
      cc->chr_open = win_stdio_chr_open;
      cc->chr_write = win_stdio_chr_write;
-    cc->chr_set_echo = win_stiod_chr_set_echo;
+    cc->chr_set_echo = win_stdio_chr_set_echo;
  }
 
  static const TypeInfo char_win_stdio_type_info = {
 
---

base-commit: c7cf7c810153d6f5f31aa2d5c0dee9087f6b4dff
change-id: 20260618-char-win-stdio-typo-5abb197de4e2

Quoted 3 lines

Best regards,
--
Filip Hejsek <[email protected]>

Thanks!