summaryrefslogtreecommitdiffstats
path: root/python/examples/inspect_vm.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/inspect_vm.py')
-rw-r--r--python/examples/inspect_vm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/examples/inspect_vm.py b/python/examples/inspect_vm.py
index c491a2ce..816779cc 100644
--- a/python/examples/inspect_vm.py
+++ b/python/examples/inspect_vm.py
@@ -9,7 +9,7 @@ disk = sys.argv[1]
g = guestfs.GuestFS ()
# Attach the disk image read-only to libguestfs.
-g.add_drive_opts (disk, readonly=1)
+g.add_drive (disk, readonly=1)
# Run the libguestfs back-end.
g.launch ()