[PATCH] maint: fix typos on guaranteed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* 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.
---

Pushing under the trivial rule.

 src/conf/domain_event.c          |    2 +-
 src/internal.h                   |    2 +-
 src/libvirt.c                    |    2 +-
 src/remote/remote_driver.c       |    2 +-
 src/storage/storage_backend_fs.c |    2 +-
 src/util/virterror.c             |    4 ++--
 src/xen/xend_internal.h          |    2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/conf/domain_event.c b/src/conf/domain_event.c
index c435484..d43331f 100644
--- a/src/conf/domain_event.c
+++ b/src/conf/domain_event.c
@@ -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;

diff --git a/src/internal.h b/src/internal.h
index 5747a90..1997031 100644
--- a/src/internal.h
+++ b/src/internal.h
@@ -140,7 +140,7 @@
  * 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
  */
diff --git a/src/libvirt.c b/src/libvirt.c
index 2f5241a..16a9a02 100644
--- a/src/libvirt.c
+++ b/src/libvirt.c
@@ -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
  */
diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c
index 6ba58ed..82b938c 100644
--- a/src/remote/remote_driver.c
+++ b/src/remote/remote_driver.c
@@ -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;
diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c
index 8d6f76d..1656215 100644
--- a/src/storage/storage_backend_fs.c
+++ b/src/storage/storage_backend_fs.c
@@ -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
          */
diff --git a/src/util/virterror.c b/src/util/virterror.c
index 75058f3..0c7698a 100644
--- a/src/util/virterror.c
+++ b/src/util/virterror.c
@@ -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)
diff --git a/src/xen/xend_internal.h b/src/xen/xend_internal.h
index c4ed9ba..4a0cd69 100644
--- a/src/xen/xend_internal.h
+++ b/src/xen/xend_internal.h
@@ -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.
-- 
1.7.4.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]