Skip to content

Commit

Permalink
huh?
Browse files Browse the repository at this point in the history
  • Loading branch information
lmichaelis committed Oct 8, 2023
1 parent ff902cf commit e745dbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Vfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,10 @@ namespace zenkit {
r->seek(static_cast<ssize_t>(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;
}

Expand Down

0 comments on commit e745dbd

Please sign in to comment.