summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-08-06 21:53:45 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2010-10-05 13:53:56 -0500
commitb0cd712cc37bc532b26d9935953cf347e025fc7a (patch)
tree577c18b6c29fb43ea400700c86cbb0bacb7919a7
parentdda5336eac4ff7a5393cf516ec87692a7d700978 (diff)
downloadfocaccia-qemu-b0cd712cc37bc532b26d9935953cf347e025fc7a.tar.gz
focaccia-qemu-b0cd712cc37bc532b26d9935953cf347e025fc7a.zip
Fix spelling in comments
multifuction -> multifunction
successfull -> successful.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
-rw-r--r--hw/pci.c2
-rw-r--r--posix-aio-compat.c2
-rw-r--r--ui/vnc-enc-tight.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/hw/pci.c b/hw/pci.c
index 6d0934df9a..1280d4d785 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -604,7 +604,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 842f1a24aa..7b862b5400 100644
--- a/posix-aio-compat.c
+++ b/posix-aio-compat.c
@@ -128,7 +128,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 971bced934..af45edd872 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.
  */