ofp = stdout;
else if ((ofp = fopen(of, eo->wmode)) == 0) {
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- ofp, strerror(errno));
+ of, strerror(errno));
}
dstr_reset(&d);
if ((ofp = fopen(of, "wb")) == 0) {
if (f & f_progress) fprogress_done(&ff);
die(EXIT_FAILURE, "couldn't open file `%s' for output: %s",
- ofp, strerror(errno));
+ of, strerror(errno));
}
rfp = ofp;
} else if ((rfp = tmpfile()) == 0) {