File 0049-docs-Refresh-programming-language-equivalence-exampl.patch of Package libguestfs

From b25c9783c77cc8d9a158e7bfb4e7684edb28819a Mon Sep 17 00:00:00 2001
From: Richard W.M. Jones <rjones@redhat.com>
Date: Thu, 30 Dec 2010 23:08:18 +0000
Subject: [PATCH 49/72] docs: Refresh programming language equivalence example in guestfs(3).
 (cherry picked from commit 33e9639f2037540a89a9bbaf7212683e8a60fe84)
 (cherry picked from commit e16eb8b673704154c2edfa656a58e9f703fbdb01)

---
 src/guestfs.pod |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/guestfs.pod b/src/guestfs.pod
index 9be1122..5d26cd3 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -675,9 +675,9 @@ Although we don't want to discourage you from using the C API, we will
 mention here that the same API is also available in other languages.
 
 The API is broadly identical in all supported languages.  This means
-that the C call C<guestfs_mount(g,path)> is
-C<$g-E<gt>mount($path)> in Perl, C<g.mount(path)> in Python,
-and C<Guestfs.mount g path> in OCaml.  In other words, a
+that the C call C<guestfs_add_drive_ro(g,file)> is
+C<$g-E<gt>add_drive_ro($file)> in Perl, C<g.add_drive_ro(file)> in Python,
+and C<g#add_drive_ro file> in OCaml.  In other words, a
 straightforward, predictable isomorphism between each language.
 
 Error messages are automatically transformed
-- 
1.7.1

openSUSE Build Service is sponsored by