From cdc798ac3558e416dc756a0fcefad2af5ca307e0 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 30 Dec 2010 22:56:25 +0000 Subject: [PATCH] docs: Fix missing g handle in guestfs(3) man page. --- src/guestfs.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guestfs.pod b/src/guestfs.pod index 9d1e6af..9be1122 100644 --- a/src/guestfs.pod +++ b/src/guestfs.pod @@ -352,13 +352,13 @@ descriptor N. For example, L 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 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 -- 1.8.3.1