[PATCH] maint: fix typo for 'switch'

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

 



* src/util/virnetdevvportprofile.c: Fix typo.
* src/conf/domain_conf.c: Likewise.

Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
---

Pushing under the trivial rule.

 src/conf/domain_conf.c           | 2 +-
 src/util/virnetdevvportprofile.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 7309877..12b68ea 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -2603,7 +2603,7 @@ virDomainDeviceInfoIterateInternal(virDomainDefPtr def,
     }

     /* This switch statement is here to trigger compiler warning when adding
-     * a new device type. When you are adding a new field to the swtich you
+     * a new device type. When you are adding a new field to the switch you
      * also have to add a iteration statement above. Otherwise the switch
      * statement has no real function here and should be optimized out by the
      * compiler. */
diff --git a/src/util/virnetdevvportprofile.c b/src/util/virnetdevvportprofile.c
index 01ba399..07155b9 100644
--- a/src/util/virnetdevvportprofile.c
+++ b/src/util/virnetdevvportprofile.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009-2012 Red Hat, Inc.
+ * Copyright (C) 2009-2013 Red Hat, Inc.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -1114,7 +1114,7 @@ cleanup:
  * @vmOp : The VM operation (i.e., create, no-op)
  * @setlink_only : Only set the link - dont wait for the link to come up
  *
- * Associate a port on a swtich with a profile. This function
+ * Associate a port on a switch with a profile. This function
  * may notify a kernel driver or an external daemon to run
  * the setup protocol. If profile parameters were not supplied
  * by the user, then this function returns without doing
-- 
1.8.3.1

--
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]