From: Eric Blake Date: Fri, 15 Jul 2011 18:08:59 +0000 (-0600) Subject: maint: fix typos X-Git-Tag: v0.9.4-rc1~159 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37754a74bb53f46a480556462cdbd929294c64b6;p=thirdparty%2Flibvirt.git 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. --- diff --git a/docs/internals/locking.html.in b/docs/internals/locking.html.in index 3790ef042e..e84321b67d 100644 --- a/docs/internals/locking.html.in +++ b/docs/internals/locking.html.in @@ -15,7 +15,7 @@

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:

diff --git a/src/locking/lock_driver_sanlock.c b/src/locking/lock_driver_sanlock.c index 87e78155b4..62eb28b031 100644 --- a/src/locking/lock_driver_sanlock.c +++ b/src/locking/lock_driver_sanlock.c @@ -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; }