diff --git a/src/Vfs.cc b/src/Vfs.cc index 82b382c1..48c3ed2b 100644 --- a/src/Vfs.cc +++ b/src/Vfs.cc @@ -480,7 +480,10 @@ namespace zenkit { r->seek(static_cast(self_offset), Whence::BEG); } else { if (e_offset + e_size > size) { - ZKLOGE("Vfs", "Unable to mount file \"%s\": invalid offset and size", e_name.c_str()); + zenkit::Logger::log(zenkit::LogLevel::ERROR, + "Vfs", + "Unable to mount file \"%s\": invalid offset and size", + e_name.c_str()); return last; }