From 37754a74bb53f46a480556462cdbd929294c64b6 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 15 Jul 2011 12:08:59 -0600 Subject: [PATCH] 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. --- docs/internals/locking.html.in | 2 +- src/locking/lock_driver_sanlock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.47.2