diff --git a/src/file.cc b/src/file.cc index f6705203..2e105d16 100644 --- a/src/file.cc +++ b/src/file.cc @@ -14,7 +14,7 @@ namespace Kakoune { std::string read_file(const std::string& filename) -{ +{ int fd = open(filename.c_str(), O_RDONLY); if (fd == -1) {