[PATCH] Fix typos in plugin manual
Replace 'iff' with 'if'. Signed-off-by: Nir Soffer <nirsof@gmail.com> --- docs/nbdkit-plugin.pod | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/nbdkit-plugin.pod b/docs/nbdkit-plugin.pod index 4b364f3..b96664f 100644 --- a/docs/nbdkit-plugin.pod +++ b/docs/nbdkit-plugin.pod @@ -348,7 +348,7 @@ handle supports writes. If there is an error, C<.can_write> should call C<nbdkit_error> with an error message and return C<-1>. -This callback is not required. If omitted, then we return true iff a +This callback is not required. If omitted, then we return true if a C<.pwrite> callback has been defined. =head2 C<.can_flush> @@ -361,7 +361,7 @@ handle supports the flush-to-disk operation. If there is an error, C<.can_flush> should call C<nbdkit_error> with an error message and return C<-1>. -This callback is not required. If omitted, then we return true iff a +This callback is not required. If omitted, then we return true if a C<.flush> callback has been defined. =head2 C<.is_rotational> @@ -389,7 +389,7 @@ backing storage. If there is an error, C<.can_trim> should call C<nbdkit_error> with an error message and return C<-1>. -This callback is not required. If omitted, then we return true iff a +This callback is not required. If omitted, then we return true if a C<.trim> callback has been defined. =head2 C<.pread> -- 2.9.4
On Sat, Jul 01, 2017 at 12:50:33AM +0300, Nir Soffer wrote:
Replace 'iff' with 'if'.
This is a mathematical abbreviation for "if and only if", the perils of having a maths degree :-/ https://en.wikipedia.org/wiki/If_and_only_if Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/
participants (2)
-
Nir Soffer -
Richard W.M. Jones