fish_indent: fix error message on ENOENT

This commit is contained in:
Johannes Altmanninger 2020-05-19 20:42:00 +02:00
parent c54ee22c46
commit 91ccaae5bf

View File

@ -656,7 +656,7 @@ int main(int argc, char *argv[]) {
fclose(fh); fclose(fh);
output_location = argv[i]; output_location = argv[i];
} else { } else {
std::fwprintf(stderr, _(L"Opening \"%s\" failed: %s\n"), *argv, std::fwprintf(stderr, _(L"Opening \"%s\" failed: %s\n"), argv[i],
std::strerror(errno)); std::strerror(errno));
exit(1); exit(1);
} }