diff options
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/FileCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index f3cbaa2ef..8c5bbc50f 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -112,7 +112,7 @@ handle_read_comments(Client &client, gcc_unused int argc, char *argv[]) return CommandResult::ERROR; } - if (!tag_file_scan(path_fs.c_str(), &print_comment_handler, &client)) { + if (!tag_file_scan(path_fs, &print_comment_handler, &client)) { command_error(client, ACK_ERROR_NO_EXIST, "Failed to load file"); return CommandResult::ERROR; |