]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
maint: fix typo for 'switch'
authorEric Blake <eblake@redhat.com>
Thu, 15 Aug 2013 22:45:20 +0000 (16:45 -0600)
committerEric Blake <eblake@redhat.com>
Thu, 15 Aug 2013 22:54:06 +0000 (16:54 -0600)
* src/util/virnetdevvportprofile.c: Fix typo.
* src/conf/domain_conf.c: Likewise.

Signed-off-by: Eric Blake <eblake@redhat.com>
src/conf/domain_conf.c
src/util/virnetdevvportprofile.c

index 73098776d872d853aa4c40c5955e806e8c291509..12b68eadf1fc109b8376d51adc4ee1f75ee9246f 100644 (file)
@@ -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. */
index 01ba399497daab7857e84813ac1e5bc6779b3aad..07155b9f3984699c21e9529a5cc9f61cfca33164 100644 (file)
@@ -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