summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-21 23:33:15 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-22 17:45:06 +0100
commit38bc7c98dff94b5ad451da86817f34a6fbc75b08 (patch)
treefaa12e79a61d6c01bbcfce35001cf2a5c80b00fb
parent1250d553f1bec4365b73ec96532fd1de0f85ea94 (diff)
downloadlibguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.tar.gz
libguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.tar.xz
libguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.zip
virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851).
-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 1a6aee4f..4e928af4 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -405,7 +405,7 @@ eval {
# Run libguestfs.
my $g = Sys::Guestfs->new ();
- $g->add_drive ($output);
+ $g->add_drive_opts ($output, format => $format);
$g->launch ();
if ($type eq "ntfs" && !feature_available ($g, "ntfs3g", "ntfsprogs")) {