summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index bf06934c2..18f6db4cb 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -68,7 +68,7 @@ sub format_ext2($;$) {
run_program::run("mke2fs", devices::make($dev), @options) or die "ext2 formatting of $dev failed";
}
-sub format_dos($;$) {
+sub format_dos($;$@) {
my ($dev, $bad_blocks, @options) = @_;
run_program::run("mkdosfs", devices::make($dev), @options, $bad_blocks ? "-c" : ()) or die "dos formatting of $dev failed";