Use the correct output file in error message.

w32-compat
Christopher Wellons 2017-07-22 17:18:15 -04:00
parent f28b650290
commit fa7228133e
1 changed files with 1 additions and 1 deletions

View File

@ -1169,7 +1169,7 @@ command_archive(struct optparse *options)
if (outfile) {
out = fopen(outfile, "wb");
if (!out)
fatal("could not open output file -- %s", infile);
fatal("could not open output file -- %s", outfile);
cleanup_register(out, outfile);
}