diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-12-30 22:56:25 +0000 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-01-10 09:38:54 +0000 |
commit | d4eb238577a12efb8939ed5372de8682dcaf6481 (patch) | |
tree | 458527b8b62eb803dca5240c2340cedde0c53b81 | |
parent | c7328142c93426fcb1c15431f592c8df2ce30e1f (diff) | |
download | libguestfs-d4eb238577a12efb8939ed5372de8682dcaf6481.tar.gz libguestfs-d4eb238577a12efb8939ed5372de8682dcaf6481.tar.xz libguestfs-d4eb238577a12efb8939ed5372de8682dcaf6481.zip |
docs: Fix missing g handle in guestfs(3) man page.
(cherry picked from commit cdc798ac3558e416dc756a0fcefad2af5ca307e0)
-rw-r--r-- | src/guestfs.pod | 4 |
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 |