From 55e7e9b64e7e38f88a2151caf2cd5c0c04d5aa7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Mangano?= Date: Tue, 21 Feb 2023 15:49:26 +0900 Subject: [PATCH] Fix a rare error message in run_single() --- src/cli.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cc b/src/cli.cc index 84b7720..b9ae866 100644 --- a/src/cli.cc +++ b/src/cli.cc @@ -504,7 +504,7 @@ static void run_single(const ot::options& opt, const std::string& path_in, const temporary_output.open(path_out->c_str()); output = temporary_output.get(); } else { - throw ot::status {ot::st::error, "Could not identify '" + path_in + "': " + strerror(errno)}; + throw ot::status {ot::st::error, "Could not identify '" + path_out.value() + "': " + strerror(errno)}; } ot::ogg_writer writer(output);