]> xenbits.xensource.com Git - libvirt.git/commitdiff
Fix typos and grammar
authorNitesh Konkar <niteshkonkar.libvirt@gmail.com>
Tue, 15 Nov 2016 14:00:08 +0000 (19:30 +0530)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 23 Nov 2016 17:08:15 +0000 (12:08 -0500)
Signed-off-by: Nitesh Konkar <nitkon12@linux.vnet.ibm.com>
src/util/vircgroup.c
src/util/vircrypto.c
src/util/virdbus.c
src/util/virhostcpu.c
src/util/virhostdev.c
src/util/virrotatingfile.c
src/util/virstoragefile.c
src/util/virstring.c
src/util/virtypedparam.c
src/util/virxml.c
tools/virsh.pod

index 24917e71506d8b14664cd944c82f271c3d300a22..92329949452f3c8fcc18774988c62d3c793d5c8e 100644 (file)
@@ -2778,7 +2778,7 @@ virCgroupGetCpusetMemoryMigrate(virCgroupPtr group, bool *migrate)
  * @group: The cgroup to set cpuset.cpus for
  * @cpus: the cpus to set
  *
- * Retuens: 0 on success
+ * Returns: 0 on success
  */
 int
 virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus)
@@ -2796,7 +2796,7 @@ virCgroupSetCpusetCpus(virCgroupPtr group, const char *cpus)
  * @group: The cgroup to get cpuset.cpus for
  * @cpus: the cpus to get
  *
- * Retuens: 0 on success
+ * Returns: 0 on success
  */
 int
 virCgroupGetCpusetCpus(virCgroupPtr group, char **cpus)
index 03410a1a44013887fb8103c74a1aa90d33fee0d9..8748e1c4e4c1eca8065c55c42f1f1c508205237d 100644 (file)
@@ -124,7 +124,7 @@ virCryptoHaveCipher(virCryptoCipher algorithm)
  *
  * Performs the AES gnutls encryption
  *
- * Same input as virCryptoEncryptData, except the algoritm is replaced
+ * Same input as virCryptoEncryptData, except the algorithm is replaced
  * by the specific gnutls algorithm.
  *
  * Encrypts the @data buffer using the @enckey and if available the @iv
index 3f4dbe34a7a1bfd71fd117e6882138268a7ff2c4..02edc5690bcfe2de9e75fd82c373092c4deff8d9 100644 (file)
@@ -1749,7 +1749,7 @@ int virDBusIsServiceEnabled(const char *name)
  * virDBusIsServiceRegistered
  * @name: service name
  *
- * Retruns 0 if service is registered, -1 on fatal error, or -2 if service is not registered
+ * Returns 0 if service is registered, -1 on fatal error, or -2 if service is not registered
  */
 int virDBusIsServiceRegistered(const char *name)
 {
index f68176f387eca3dd3a7010b150e63d84818277db..42a52caa55a214de5c96fd4e201a2dfbf6e941fe 100644 (file)
@@ -655,7 +655,7 @@ virHostCPUGetInfoPopulateLinux(FILE *cpuinfo,
      * subcores alone will be online on the host for a subcore in the
      * host. Even though the actual threads per core for P8 processor is 8,
      * depending on the subcores_per_core = 1, 2 or 4, the threads per
-     * subcore will vary accordingly to 8, 4 and 2 repectively.
+     * subcore will vary accordingly to 8, 4 and 2 respectively.
      * So, On host threads_per_core what is arrived at from sysfs in the
      * current logic is actually the subcores_per_core. Threads per subcore
      * can only be obtained from the kvm device. For example, on P8 wih 1
index a038e13d3de9f8f9167aaae985000a271d478754..ee81ca9042c2755138d6abbd1ecc2283c5703b8f 100644 (file)
@@ -751,7 +751,7 @@ virHostdevPreparePCIDevices(virHostdevManagerPtr mgr,
         virPCIDevicePtr actual;
 
         /* We need to look up the actual device because that's what
-         * virPCIDeviceReattach() exepects as its argument */
+         * virPCIDeviceReattach() expects as its argument */
         if (!(actual = virPCIDeviceListFind(mgr->inactivePCIHostdevs, pci)))
             continue;
 
index 6654affcd8aa3c48b56cb81ee6e969f9a566b9c6..914472970b5ec01ec6edca17a2d1bc398a4dbca9 100644 (file)
@@ -512,7 +512,7 @@ virRotatingFileWriterAppend(virRotatingFileWriterPtr file,
  * If no file with a inode matching @inode currently
  * exists, then seeks to the start of the oldest
  * file, on the basis that the requested file has
- * probably been rotated out of existance
+ * probably been rotated out of existence
  */
 int
 virRotatingFileReaderSeek(virRotatingFileReaderPtr file,
index 272db672db2291cac8898d5953e54b71b3a4aa60..f6a1b5d30f2fb067b6df91ab2c91483169eb80fc 100644 (file)
@@ -2022,7 +2022,7 @@ virStorageSourceCopy(const virStorageSource *src,
  * virStorageSourceInitChainElement:
  * @newelem: New backing chain element disk source
  * @old: Existing top level disk source
- * @transferLabels: Transfer security lables.
+ * @transferLabels: Transfer security labels.
  *
  * Transfers relevant information from the existing disk source to the new
  * backing chain element if they weren't supplied so that labelling info
index 4a70620899098d28d46f901d37c47301e2d400f4..f93d6b1259db2232179f587577db4f62a592ae39 100644 (file)
@@ -1027,7 +1027,7 @@ virStringStripControlChars(char *str)
  * Capitalize the string with replacement of all '-' characters for '_'
  * characters. Caller frees the result.
  *
- * Returns 0 if src is NULL, 1 if capitalization was successfull, -1 on failure.
+ * Returns 0 if src is NULL, 1 if capitalization was successful, -1 on failure.
  */
 int
 virStringToUpper(char **dst, const char *src)
index 23109e1c2e4ff40d697f06e07525b4321d819dd9..3b49ec82a413219d7fe0e22eec8464c8b7d0d9f9 100644 (file)
@@ -1364,7 +1364,7 @@ virTypedParamsRemoteFree(virTypedParameterRemotePtr remote_params_val,
  *    parameters for @params to hold, followed by an allocation of @params and
  *    a second call to the deserializer to actually retrieve the data.
  * 2) Newer APIs rely completely on the deserializer to allocate the right
- *    ammount of memory for @params to hold all the data obtained in
+ *    amount of memory for @params to hold all the data obtained in
  *    @remote_params.
  *
  * If used with model 1, two checks are performed, first one comparing the user
index 1438edc4ddd7b4cbf4b9d5d42a29decabdd1d197..96c17fa9c00d5595248e29e0b9e15ab872b807bd 100644 (file)
@@ -95,7 +95,7 @@ virXPathString(const char *xpath,
 /**
  * virXPathStringLimit:
  * @xpath: the XPath string to evaluate
- * @maxlen: maximum length permittred string
+ * @maxlen: maximum length permitted string
  * @ctxt: an XPath context
  *
  * Wrapper for virXPathString, which validates the length of the returned
index 894863848c1250c0a00275fca7b9402d289e3990..247d2357b7076d57595be85697168f4045c66de1 100644 (file)
@@ -1305,7 +1305,7 @@ a hint and the guest may not respect it). By increasing this value,
 the fstrim operation will complete more quickly for filesystems
 with badly fragmented free space, although not all blocks will
 be discarded.  The default value is zero, meaning "discard
-every free block". Moreover, a if user wants to trim only one mount
+every free block". Moreover, if a user wants to trim only one mount
 point, it can be specified via optional I<--mountpoint> parameter.
 
 =item B<domhostname> I<domain>