]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
maint: fix typos
authorEric Blake <eblake@redhat.com>
Fri, 15 Jul 2011 18:08:59 +0000 (12:08 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 15 Jul 2011 18:15:04 +0000 (12:15 -0600)
Our XML prefers "shareable" over "sharable".

* docs/internals/locking.html.in: s/sharable/shareable/
* src/locking/lock_driver_sanlock.c
(virLockManagerSanlockAddResource): Likewise.

docs/internals/locking.html.in
src/locking/lock_driver_sanlock.c

index 3790ef042e730ff100ab59dfed2a4d2ff73e1a5f..e84321b67dbc775da93f606133eca1d6e9fdec48 100644 (file)
@@ -15,7 +15,7 @@
     <p>
       The high level goal is to prevent the same disk image being
       used by more than one QEMU instance at a time (unless the
-      disk is marked as sharable, or readonly). The scenarios
+      disk is marked as shareable, or readonly). The scenarios
       to be prevented are thus:
     </p>
 
index 87e78155b49fb395f443ae29adeebc3b01041c1d..62eb28b0312bf3b09c54acb6d27536b954de8187 100644 (file)
@@ -634,7 +634,7 @@ static int virLockManagerSanlockAddResource(virLockManagerPtr lock,
     }
     if (flags & VIR_LOCK_MANAGER_RESOURCE_SHARED) {
         virLockError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                     _("Sharable leases are not supported"));
+                     _("Shareable leases are not supported"));
         return -1;
     }