From 11d6dded8eb09aca1d648166f5f80e846e9c8fc8 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 26 Aug 2011 22:06:01 +0300 Subject: [PATCH 1/2] hw/pci-stub: fix comment typo [Stefan fixed "doesn't" -> "don't"] Signed-off-by: Alon Levy Signed-off-by: Stefan Hajnoczi --- hw/pci-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/pci-stub.c b/hw/pci-stub.c index c5a0aa8979..1fb105d51c 100644 --- a/hw/pci-stub.c +++ b/hw/pci-stub.c @@ -1,5 +1,5 @@ /* - * PCI stubs for plathome that doesn't support pci bus. + * PCI stubs for platforms that don't support pci bus. * * Copyright (c) 2010 Isaku Yamahata * VA Linux Systems Japan K.K. From 2542bfd51c42eead37e0025a9055f74b8c3a1aed Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sun, 28 Aug 2011 21:45:40 +0200 Subject: [PATCH 2/2] Fix spelling in comments and debug messages (recieve -> receive) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Weil Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi --- 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 b7befb5e48..f345866f57 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 a7b38340dc..2191f6038c 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 858d75a361..49320133c6 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);