summaryrefslogtreecommitdiffstats
path: root/java/examples/InspectVM.java
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-14 12:42:24 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-14 12:42:24 +0100
commit7486fc6f43bdb22a989cc039e361afc4c0658d52 (patch)
treeeebbe3e0bb3ec8c79a1a60961f1d7c2ea96a28e1 /java/examples/InspectVM.java
parentb48ae2eadf43315159f2174c8fd35b05ede14c0f (diff)
downloadlibguestfs-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 'java/examples/InspectVM.java')
-rw-r--r--java/examples/InspectVM.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/examples/InspectVM.java b/java/examples/InspectVM.java
index d92aa70f..1feadbe5 100644
--- a/java/examples/InspectVM.java
+++ b/java/examples/InspectVM.java
@@ -35,7 +35,7 @@ public class InspectVM
}
};
- g.add_drive_opts (disk, optargs);
+ g.add_drive (disk, optargs);
// Run the libguestfs back-end.
g.launch ();