summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-12-30 22:56:25 +0000
committerRichard W.M. Jones <rjones@redhat.com>2010-12-30 22:56:25 +0000
commitcdc798ac3558e416dc756a0fcefad2af5ca307e0 (patch)
tree32f785886a243ed2e05e8543ced2fff2d146eb22 /src
parent22042693cc1e0455a4a503dba93a9fedc9c74f04 (diff)
downloadlibguestfs-cdc798ac3558e416dc756a0fcefad2af5ca307e0.tar.gz
libguestfs-cdc798ac3558e416dc756a0fcefad2af5ca307e0.tar.xz
libguestfs-cdc798ac3558e416dc756a0fcefad2af5ca307e0.zip
docs: Fix missing g handle in guestfs(3) man page.
Diffstat (limited to 'src')
-rw-r--r--src/guestfs.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/guestfs.pod b/src/guestfs.pod
index 9d1e6afa..9be11222 100644
--- a/src/guestfs.pod
+++ b/src/guestfs.pod
@@ -352,13 +352,13 @@ descriptor N.
For example, L<virt-cat(1)> writes its output to stdout by
doing:
- guestfs_download (filename, "/dev/stdout");
+ guestfs_download (g, filename, "/dev/stdout");
and you can write tar output to a pipe C<fd> by doing:
char devfd[64];
snprintf (devfd, sizeof devfd, "/dev/fd/%d", fd);
- guestfs_tar_out ("/", devfd);
+ guestfs_tar_out (g, "/", devfd);
=head2 LISTING FILES