diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-14 12:42:24 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-14 12:42:24 +0100 |
commit | 7486fc6f43bdb22a989cc039e361afc4c0658d52 (patch) | |
tree | eebbe3e0bb3ec8c79a1a60961f1d7c2ea96a28e1 /haskell | |
parent | b48ae2eadf43315159f2174c8fd35b05ede14c0f (diff) | |
download | libguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.tar.gz libguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.tar.xz libguestfs-7486fc6f43bdb22a989cc039e361afc4c0658d52.zip |
generator: Rename 'add_drive_opts' API to 'add_drive'.
By using the once_had_no_optargs flag, this change is backwards
compatible for callers (except Haskell, PHP and GObject as discussed
in earlier commit).
Diffstat (limited to 'haskell')
-rw-r--r-- | haskell/Guestfs010Basic.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haskell/Guestfs010Basic.hs b/haskell/Guestfs010Basic.hs index 0f919e3e..5cf88265 100644 --- a/haskell/Guestfs010Basic.hs +++ b/haskell/Guestfs010Basic.hs @@ -26,7 +26,7 @@ main = do fd <- openFile "test.img" WriteMode hSetFileSize fd (500 * 1024 * 1024) hClose fd - Guestfs.add_drive g "test.img" + Guestfs.add_drive_ro g "test.img" Guestfs.launch g Guestfs.pvcreate g "/dev/sda" |