diff --git a/ntfsprogs/ntfsundelete.c b/ntfsprogs/ntfsundelete.c index 1b686d62..dfcd2ea1 100644 --- a/ntfsprogs/ntfsundelete.c +++ b/ntfsprogs/ntfsundelete.c @@ -489,6 +489,9 @@ int parse_options (int argc, char *argv[]) } } + if (opts.fillbyte == -1) + opts.fillbyte = 0; + if (ver) version(); if (help || err)