diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2010-10-21 23:33:15 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2010-10-22 17:45:06 +0100 |
commit | 38bc7c98dff94b5ad451da86817f34a6fbc75b08 (patch) | |
tree | faa12e79a61d6c01bbcfce35001cf2a5c80b00fb | |
parent | 1250d553f1bec4365b73ec96532fd1de0f85ea94 (diff) | |
download | libguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.tar.gz libguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.tar.xz libguestfs-38bc7c98dff94b5ad451da86817f34a6fbc75b08.zip |
virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851).
-rwxr-xr-x | tools/virt-make-fs | 2 |
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")) { |