diff options
Diffstat (limited to 'cabinet/main.cpp')
| -rw-r--r-- | cabinet/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cabinet/main.cpp b/cabinet/main.cpp index db2d43b..ff35d34 100644 --- a/cabinet/main.cpp +++ b/cabinet/main.cpp @@ -27,7 +27,7 @@ auto main(int argc, char ** argv) -> int auto mime_type = magic->process(fd); if (!mime_type) { - std::println(std::cerr, "Failed to determine file type: {}", mime_type.error()); + std::println(std::cerr, "Failed to determine file type: {}", mime_type.error().message()); return EXIT_FAILURE; } std::println("{}: {}", argv[1], mime_type.value()); |
