summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/resize_ntfs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/diskdrake/resize_ntfs.pm')
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm
index 16c2f9459..8fb6e0da6 100644
--- a/perl-install/diskdrake/resize_ntfs.pm
+++ b/perl-install/diskdrake/resize_ntfs.pm
@@ -22,7 +22,7 @@ sub min_size {
my ($o) = @_;
my $r;
run_program::run('ntfsresize', '>', \$r, '-f', '-i', $o->{dev}) or die "ntfsresize failed:\n$r\n";
- $r =~ /minimal size: (\d+) KiB/ && $1 * 2;
+ $r =~ /You might resize at (\d+) bytes or / && $1 / 512;
}
sub resize {