summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-05-03 14:30:09 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-05-03 14:32:24 +0100
commite60556d92725289a26ccb406c9c94be32b3251c8 (patch)
tree439ff678e9c520e6741de6e46bf5decef9f16ec6 /tools
parent00202b9c2941c2b4ff514c5ea32818807f42acf4 (diff)
downloadlibguestfs-e60556d92725289a26ccb406c9c94be32b3251c8.tar.gz
libguestfs-e60556d92725289a26ccb406c9c94be32b3251c8.tar.xz
libguestfs-e60556d92725289a26ccb406c9c94be32b3251c8.zip
virt-make-fs: Fix filesystem type check when estimating ntfs.
Diffstat (limited to 'tools')
-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 f941a820..9951ecd9 100755
--- a/tools/virt-make-fs
+++ b/tools/virt-make-fs
@@ -376,7 +376,7 @@ if ($type =~ /^ext[3-9]/) {
$estimate += 1024 * 1024; # For ext3/4, add some more for the journal.
}
-if ($type =~ /^ntfs/) {
+if ($type eq "ntfs") {
$estimate += 4 * 1024 * 1024; # NTFS journal.
}