diff --git a/libopenfpga/libopenfpgashell/src/command_parser.cpp b/libopenfpga/libopenfpgashell/src/command_parser.cpp index 5e0397421..b2daf12f7 100644 --- a/libopenfpga/libopenfpgashell/src/command_parser.cpp +++ b/libopenfpga/libopenfpgashell/src/command_parser.cpp @@ -67,7 +67,7 @@ bool parse_command(const std::vector& argv, /* Validate that the command name matches argv[0] */ if (argv[0] != cmd.name()) { VTR_LOG("Unexpected command name '%s'!\n", - argv[0]); + argv[0].c_str()); return false; }