1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-26 14:03:49 +03:00

maint: fix typos

Our XML prefers "shareable" over "sharable".

* docs/internals/locking.html.in: s/sharable/shareable/
* src/locking/lock_driver_sanlock.c
(virLockManagerSanlockAddResource): Likewise.
This commit is contained in:
Eric Blake 2011-07-15 12:08:59 -06:00
parent e962a57994
commit 37754a74bb
2 changed files with 2 additions and 2 deletions

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

View 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;
}