qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org
Cc: Stefan Weil <sw@weilnetz.de>,
	Anthony Liguori <aliguori@us.ibm.com>,
	Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH 03/13] Fix spelling (prefered -> preferred)
Date: Fri,  7 Dec 2012 12:39:02 +0100	[thread overview]
Message-ID: <1354880352-9597-4-git-send-email-stefanha@redhat.com> (raw)
In-Reply-To: <1354880352-9597-1-git-send-email-stefanha@redhat.com>

From: Stefan Weil <sw@weilnetz.de>

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 configure       | 2 +-
 net/tap-win32.c | 7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/configure b/configure
index 447e6ed..79605d2 100755
--- a/configure
+++ b/configure
@@ -2130,7 +2130,7 @@ if test "$pixman" = "system"; then
 else
   if test ! -d ${source_path}/pixman/pixman; then
     echo "ERROR: pixman not present. Your options:"
-    echo "  (1) Prefered: Install the pixman devel package (any recent"
+    echo "  (1) Preferred: Install the pixman devel package (any recent"
     echo "      distro should have packages as Xorg needs pixman too)."
     echo "  (2) Fetch the pixman submodule, using:"
     echo "      git submodule update --init pixman"
diff --git a/net/tap-win32.c b/net/tap-win32.c
index 8d2d32b..f9bd741 100644
--- a/net/tap-win32.c
+++ b/net/tap-win32.c
@@ -565,7 +565,7 @@ static void tap_win32_free_buffer(tap_win32_overlapped_t *overlapped,
 }
 
 static int tap_win32_open(tap_win32_overlapped_t **phandle,
-                          const char *prefered_name)
+                          const char *preferred_name)
 {
     char device_path[256];
     char device_guid[0x100];
@@ -581,8 +581,9 @@ static int tap_win32_open(tap_win32_overlapped_t **phandle,
     DWORD version_len;
     DWORD idThread;
 
-    if (prefered_name != NULL)
-        snprintf(name_buffer, sizeof(name_buffer), "%s", prefered_name);
+    if (preferred_name != NULL) {
+        snprintf(name_buffer, sizeof(name_buffer), "%s", preferred_name);
+    }
 
     rc = get_device_guid(device_guid, sizeof(device_guid), name_buffer, sizeof(name_buffer));
     if (rc)
-- 
1.8.0.1

  parent reply	other threads:[~2012-12-07 11:54 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 11:38 [Qemu-devel] [PULL 00/13] Trivial patches for 2 to 7 November Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 01/13] sd: Send debug printfery to stderr not stdout Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 02/13] configure: Remove stray debug output Stefan Hajnoczi
2012-12-07 11:39 ` Stefan Hajnoczi [this message]
2012-12-07 11:39 ` [Qemu-devel] [PATCH 04/13] Fix comments (adress -> address, layed -> laid, wierd -> weird) Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 05/13] s390x: Spelling fixes (endianess -> endianness, occured -> occurred) Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 06/13] target-alpha: Remove t0, t1 from CPUAlphaState Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 07/13] target-m68k: Remove t1 from CPUM68KState Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 08/13] target-sparc: Remove t0, t1 from CPUSPARCState Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 09/13] arm: a9mpcore: remove un-used ptimer_iomem field Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 10/13] Clean up pci_drive_hot_add()'s use of BlockInterfaceType Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 11/13] Fix spelling in comments and documentation Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 12/13] qemu-options: Fix space at EOL Stefan Hajnoczi
2012-12-07 11:39 ` [Qemu-devel] [PATCH 13/13] pc_sysfw: Plug memory leak on pc_fw_add_pflash_drv() error path Stefan Hajnoczi
2012-12-10 16:58 ` [Qemu-devel] [PULL 00/13] Trivial patches for 2 to 7 November Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1354880352-9597-4-git-send-email-stefanha@redhat.com \
    --to=stefanha@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).