]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
maint: fix typos on guaranteed
authorEric Blake <eblake@redhat.com>
Wed, 20 Jul 2011 22:53:31 +0000 (16:53 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 20 Jul 2011 22:53:31 +0000 (16:53 -0600)
* src/conf/domain_event.c (virDomainEventDispatch): Fix typo.
* src/internal.h (ATTRIBUTE_FMT_PRINTF): Likewise.
* src/libvirt.c (virStreamEventUpdateCallback): Likewise.
* src/remote/remote_driver.c (doRemoteOpen): Likewise.
* src/storage/storage_backend_fs.c (virStorageBackendProbeTarget):
Likewise.
* src/util/virterror.c (virConnCopyLastError, virCopyLastError):
Likewise.
* src/xen/xend_internal.h (xend_wait_for_devices): Likewise.

src/conf/domain_event.c
src/internal.h
src/libvirt.c
src/remote/remote_driver.c
src/storage/storage_backend_fs.c
src/util/virterror.c
src/xen/xend_internal.h

index c435484a20a5468f7841839d100c72069e313220..d43331fb8e4e2cd5b25ad0550ea032a7798ab2f6 100644 (file)
@@ -1069,7 +1069,7 @@ void virDomainEventDispatch(virDomainEventPtr event,
 {
     int i;
     /* Cache this now, since we may be dropping the lock,
-       and have more callbacks added. We're guarenteed not
+       and have more callbacks added. We're guaranteed not
        to have any removed */
     int cbCount = callbacks->count;
 
index 5747a90c0263f428fc8050ddf9301bad75fa928a..1997031a98306f02ada3df78ce69a0b62b5f37b5 100644 (file)
  * Macro used to check printf like functions, if compiling
  * with gcc.
  *
- * We use gnulib which guarentees we always have GNU style
+ * We use gnulib which guarantees we always have GNU style
  * printf format specifiers even on broken Win32 platforms
  * hence we have to force 'gnu_printf' for new GCC
  */
index 2f5241adb0de5d5ac7fb3c802f0ac2fec4c08444..16a9a027c3c2e26069155a558ec03b01dc8d02bf 100644 (file)
@@ -13390,7 +13390,7 @@ error:
  * Changes the set of events to monitor for a stream. This allows
  * for event notification to be changed without having to
  * unregister & register the callback completely. This method
- * is guarenteed to succeed if a callback is already registered
+ * is guaranteed to succeed if a callback is already registered
  *
  * Returns 0 on success, -1 if no callback is registered
  */
index 6ba58edc16db6673847bfc776a1541ede9b363a2..82b938c9888a1db12dc7eb07c2e9c581886f7289 100644 (file)
@@ -584,7 +584,7 @@ doRemoteOpen (virConnectPtr conn,
         if (!(priv->client = virNetClientNewExternal(cmd_argv)))
             goto failed;
 
-        /* Do not set 'is_secure' flag since we can't guarentee
+        /* Do not set 'is_secure' flag since we can't guarantee
          * an external program is secure, and this flag must be
          * pessimistic */
     }   break;
index 8d6f76da0d7633442f3f2d4b3a00c1de12360601..16562156c8026cca1630148883b32eab8dc1ecc3 100644 (file)
@@ -143,7 +143,7 @@ virStorageBackendProbeTarget(virStorageVolTargetPtr target,
         }
 
         /* XXX ideally we'd fill in secret UUID here
-         * but we cannot guarentee 'conn' is non-NULL
+         * but we cannot guarantee 'conn' is non-NULL
          * at this point in time :-(  So we only fill
          * in secrets when someone first queries a vol
          */
index 75058f3d06665e7feb0cdfb38b1e30838ef771f5..0c7698aa25e5ec76f49c107eee54e14be41b5ccd 100644 (file)
@@ -327,7 +327,7 @@ int
 virCopyLastError(virErrorPtr to)
 {
     virErrorPtr err = virLastErrorObject();
-    /* We can't guarentee caller has initialized it to zero */
+    /* We can't guarantee caller has initialized it to zero */
     memset(to, 0, sizeof(*to));
     if (err)
         virCopyError(err, to);
@@ -464,7 +464,7 @@ virConnGetLastError(virConnectPtr conn)
 int
 virConnCopyLastError(virConnectPtr conn, virErrorPtr to)
 {
-    /* We can't guarentee caller has initialized it to zero */
+    /* We can't guarantee caller has initialized it to zero */
     memset(to, 0, sizeof(*to));
 
     if (conn == NULL)
index c4ed9bae9b2724d0d6da56926e1e18c1f828f014..4a0cd69f91f9dc3b030ad9bf5b38ae62d2b2c1aa 100644 (file)
@@ -36,7 +36,7 @@ xenDaemonOpen_unix(virConnectPtr conn, const char *path);
  * \return 0 for success; -1 (with errno) on error
  *
  * xen_create() returns after a domain has been allocated including
- * its memory.  This does not guarentee, though, that the devices
+ * its memory.  This does not guarantee, though, that the devices
  * have come up properly.  For instance, if you create a VBD with an
  * invalid filename, the error won't occur until after this function
  * returns.