]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Fix typos and misspellings in comments
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Wed, 10 Sep 2014 11:29:07 +0000 (19:29 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 20 Sep 2014 13:55:53 +0000 (17:55 +0400)
formated -> formatted
gaurantee -> guarantee
shear -> sheer

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/ppc/spapr.c
libcacard/vcard_emul_nss.c

index 2ab4460f04a466db26148c67b36df3863c416b76..2becc9ff076002a4f6f50dddf28541339dbd3382 100644 (file)
@@ -541,7 +541,7 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
     _FDT((fdt_property_cell(fdt, "rtas-error-log-max", RTAS_ERROR_LOG_MAX)));
 
     /*
-     * According to PAPR, rtas ibm,os-term, does not gaurantee a return
+     * According to PAPR, rtas ibm,os-term does not guarantee a return
      * back to the guest cpu.
      *
      * While an additional ibm,extended-os-term property indicates that
index f1bba57c2ff8045e6807fb939e4b1efb29a5e34c..07b446481e7a75d4573824279f1ac096ee924404 100644 (file)
@@ -286,10 +286,10 @@ vcard_emul_rsa_op(VCard *card, VCardKey *key,
             }
         }
         if ((i < buffer_size) && (buffer[i] == 0)) {
-            /* yes, we have a properly formated PKCS #1 signature */
+            /* yes, we have a properly formatted PKCS #1 signature */
             /*
              * NOTE: even if we accidentally got an encrypt buffer, which
-             * through shear luck started with 00, 01, ff, 00, it won't matter
+             * through sheer luck started with 00, 01, ff, 00, it won't matter
              * because the resulting Sign operation will effectively decrypt
              * the real buffer.
              */