diff mbox

Fix some typos in comments and documentation

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

Commit Message

Stefan Weil April 13, 2011, 8:45 p.m. UTC
helpfull -> helpful
usefull -> useful
cotrol -> control

and a grammar fix.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 qemu-options.hx     |    4 ++--
 savevm.c            |    2 +-
 target-arm/helper.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

Comments

Stefan Hajnoczi April 14, 2011, 9:25 a.m. UTC | #1
On Wed, Apr 13, 2011 at 10:45:22PM +0200, Stefan Weil wrote:
> helpfull -> helpful
> usefull -> useful
> cotrol -> control
> 
> and a grammar fix.
> 
> Signed-off-by: Stefan Weil <weil@mail.berlios.de>
> ---
>  qemu-options.hx     |    4 ++--
>  savevm.c            |    2 +-
>  target-arm/helper.c |    2 +-
>  3 files changed, 4 insertions(+), 4 deletions(-)

Merged into the trivial-patches tree.  I will send a pull request to the
qemu.git maintainers:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches

For more information, see
http://wiki.qemu.org/Contribute/TrivialPatches.

Stefan
diff mbox

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index ef60730..677c550 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -937,8 +937,8 @@  a lot of bandwidth at the expense of quality.
 Disable adaptive encodings. Adaptive encodings are enabled by default.
 An adaptive encoding will try to detect frequently updated screen regions,
 and send updates in these regions using a lossy encoding (like JPEG).
-This can be really helpfull to save bandwidth when playing videos. Disabling
-adaptive encodings allow to restore the original static behavior of encodings
+This can be really helpful to save bandwidth when playing videos. Disabling
+adaptive encodings allows to restore the original static behavior of encodings
 like Tight.
 
 @end table
diff --git a/savevm.c b/savevm.c
index 03fce62..c1c5467 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1007,7 +1007,7 @@  const VMStateInfo vmstate_info_buffer = {
 };
 
 /* unused buffers: space that was used for some fields that are
-   not usefull anymore */
+   not useful anymore */
 
 static int get_unused_buffer(QEMUFile *f, void *pv, size_t size)
 {
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 9172fc7..a0ec643 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -1378,7 +1378,7 @@  void HELPER(set_cp15)(CPUState *env, uint32_t insn, uint32_t val)
             /* This may enable/disable the MMU, so do a TLB flush.  */
             tlb_flush(env, 1);
             break;
-        case 1: /* Auxiliary cotrol register.  */
+        case 1: /* Auxiliary control register.  */
             if (arm_feature(env, ARM_FEATURE_XSCALE)) {
                 env->cp15.c1_xscaleauxcr = val;
                 break;