From 91ccaae5bf9626ec195b0c92898cf1ca6a74a154 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 19 May 2020 20:42:00 +0200 Subject: [PATCH] fish_indent: fix error message on ENOENT --- src/fish_indent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fish_indent.cpp b/src/fish_indent.cpp index d1285dd7d..593c93bef 100644 --- a/src/fish_indent.cpp +++ b/src/fish_indent.cpp @@ -656,7 +656,7 @@ int main(int argc, char *argv[]) { fclose(fh); output_location = argv[i]; } 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)); exit(1); }