qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Fix spelling in comments


From: Stefan Weil
Subject: [Qemu-devel] [PATCH] Fix spelling in comments
Date: Fri, 6 Aug 2010 21:56:15 +0200

multifuction -> multifunction
successfull -> successful.

Signed-off-by: Stefan Weil <address@hidden>
---
 hw/pci.c           |    2 +-
 posix-aio-compat.c |    2 +-
 ui/vnc-enc-tight.c |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hw/pci.c b/hw/pci.c
index a98d6f3..5aa690d 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -603,7 +603,7 @@ static int pci_init_multifunction(PCIBus *bus, PCIDevice 
*dev)
     }
 
     /*
-     * multifuction bit is interpreted in two ways as follows.
+     * multifunction bit is interpreted in two ways as follows.
      *   - all functions must set the bit to 1.
      *     Example: Intel X53
      *   - function 0 must set the bit, but the rest function (> 0)
diff --git a/posix-aio-compat.c b/posix-aio-compat.c
index a67ffe3..19656cb 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -127,7 +127,7 @@ static ssize_t handle_aiocb_ioctl(struct qemu_paiocb *aiocb)
 
     /*
      * This looks weird, but the aio code only consideres a request
-     * successfull if it has written the number full number of bytes.
+     * successful if it has written the number full number of bytes.
      *
      * Now we overload aio_nbytes as aio_ioctl_cmd for the ioctl command,
      * so in fact we return the ioctl command here to make posix_aio_read()
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c
index c4c9c3b..e12505c 100644
--- a/ui/vnc-enc-tight.c
+++ b/ui/vnc-enc-tight.c
@@ -641,7 +641,7 @@ DEFINE_GRADIENT_FILTER_FUNCTION(32)
 /*
  * Check if a rectangle is all of the same color. If needSameColor is
  * set to non-zero, then also check that its color equals to the
- * *colorPtr value. The result is 1 if the test is successfull, and in
+ * *colorPtr value. The result is 1 if the test is successful, and in
  * that case new color will be stored in *colorPtr.
  */
 
-- 
1.5.6.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]