summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-03 14:30:49 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-14 15:42:05 +0100
commite6b0c186ab1d0fd926a134f2b989d6e9bcaf6762 (patch)
tree2833c3dc9e31b188b91057aa3482ebb1184fdd16
parent5666232ab1875e87d58acb5948192e4698d3c3a0 (diff)
downloadlibguestfs-e6b0c186ab1d0fd926a134f2b989d6e9bcaf6762.tar.gz
libguestfs-e6b0c186ab1d0fd926a134f2b989d6e9bcaf6762.tar.xz
libguestfs-e6b0c186ab1d0fd926a134f2b989d6e9bcaf6762.zip
virt-make-fs: Use mount instead of mount_options.
(cherry picked from commit 93734c78d8f802fbd80418e6ddb333b21f060fa9)
-rwxr-xr-xtools/virt-make-fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virt-make-fs b/tools/virt-make-fs
index 9951ecd9..3938e277 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -449,7 +449,7 @@ eval {
# Create the filesystem.
$g->mkfs ($type, $dev);
- $g->mount_options ("", $dev, "/");
+ $g->mount ($dev, "/");
# Copy the data in.
my $ifile;