diff mbox

Fix spelling in comments and debug messages (recieve -> receive)

Message ID 1314560740-6136-1-git-send-email-weil@mail.berlios.de
State Accepted
Headers show

Commit Message

Stefan Weil Aug. 28, 2011, 7:45 p.m. UTC
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 docs/qapi-code-gen.txt |    2 +-
 libcacard/vscclient.c  |    2 +-
 qemu-ga.c              |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Andreas Färber Aug. 28, 2011, 8:13 p.m. UTC | #1
Am 28.08.2011 um 21:45 schrieb Stefan Weil:

> Signed-off-by: Stefan Weil <weil@mail.berlios.de>

Reviewed-by: Andreas Färber <andreas.faerber@web.de>

Thanks,
Andreas

> ---
> docs/qapi-code-gen.txt |    2 +-
> libcacard/vscclient.c  |    2 +-
> qemu-ga.c              |    2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
> index b7befb5..f345866 100644
> --- a/docs/qapi-code-gen.txt
> +++ b/docs/qapi-code-gen.txt
> @@ -229,7 +229,7 @@ in the schema. The following files are generated:
> $(prefix)qmp-marshal.c: command marshal/dispatch functions for each
>                         QMP command defined in the schema. Functions
>                         generated by qapi-visit.py are used to
> -                        convert QObjects recieved from the wire into
> +                        convert QObjects received from the wire into
>                         function parameters, and uses the same
>                         visitor functions to convert native C return
>                         values to QObjects from transmission back
> diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
> index a7b3834..2191f60 100644
> --- a/libcacard/vscclient.c
> +++ b/libcacard/vscclient.c
> @@ -585,7 +585,7 @@ main(
>                 printf(" recv APDU: ");
>                 print_byte_array(pbSendBuffer, mhHeader.length);
>             }
> -            /* Transmit recieved APDU */
> +            /* Transmit received APDU */
>             dwSendLength = mhHeader.length;
>             dwRecvLength = sizeof(pbRecvBuffer);
>             reader = vreader_get_reader_by_id(mhHeader.reader_id);
> diff --git a/qemu-ga.c b/qemu-ga.c
> index 858d75a..4932013 100644
> --- a/qemu-ga.c
> +++ b/qemu-ga.c
> @@ -51,7 +51,7 @@ static struct GAState *ga_state;
>
> static void quit_handler(int sig)
> {
> -    g_debug("recieved signal num %d, quitting", sig);
> +    g_debug("received signal num %d, quitting", sig);
>
>     if (g_main_loop_is_running(ga_state->main_loop)) {
>         g_main_loop_quit(ga_state->main_loop);
> -- 
> 1.7.2.5
Stefan Hajnoczi Aug. 29, 2011, 10:48 a.m. UTC | #2
On Sun, Aug 28, 2011 at 09:45:40PM +0200, Stefan Weil wrote:
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  docs/qapi-code-gen.txt |    2 +-
>  libcacard/vscclient.c  |    2 +-
>  qemu-ga.c              |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Thanks, applied to the trivial patches tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

Stefan
diff mbox

Patch

diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
index b7befb5..f345866 100644
--- a/docs/qapi-code-gen.txt
+++ b/docs/qapi-code-gen.txt
@@ -229,7 +229,7 @@  in the schema. The following files are generated:
 $(prefix)qmp-marshal.c: command marshal/dispatch functions for each
                         QMP command defined in the schema. Functions
                         generated by qapi-visit.py are used to
-                        convert QObjects recieved from the wire into
+                        convert QObjects received from the wire into
                         function parameters, and uses the same
                         visitor functions to convert native C return
                         values to QObjects from transmission back
diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c
index a7b3834..2191f60 100644
--- a/libcacard/vscclient.c
+++ b/libcacard/vscclient.c
@@ -585,7 +585,7 @@  main(
                 printf(" recv APDU: ");
                 print_byte_array(pbSendBuffer, mhHeader.length);
             }
-            /* Transmit recieved APDU */
+            /* Transmit received APDU */
             dwSendLength = mhHeader.length;
             dwRecvLength = sizeof(pbRecvBuffer);
             reader = vreader_get_reader_by_id(mhHeader.reader_id);
diff --git a/qemu-ga.c b/qemu-ga.c
index 858d75a..4932013 100644
--- a/qemu-ga.c
+++ b/qemu-ga.c
@@ -51,7 +51,7 @@  static struct GAState *ga_state;
 
 static void quit_handler(int sig)
 {
-    g_debug("recieved signal num %d, quitting", sig);
+    g_debug("received signal num %d, quitting", sig);
 
     if (g_main_loop_is_running(ga_state->main_loop)) {
         g_main_loop_quit(ga_state->main_loop);