From 38bc7c98dff94b5ad451da86817f34a6fbc75b08 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 21 Oct 2010 23:33:15 +0100 Subject: [PATCH] virt-make-fs: Specify format of disk (RHBZ#642934,CVE-2010-3851). --- tools/virt-make-fs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/virt-make-fs b/tools/virt-make-fs index 1a6aee4..4e928af 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")) { -- 1.8.3.1