Commit 6566f1b5 authored by Ramon Nou's avatar Ramon Nou
Browse files

restore fd on GKFS_OPERATION

parent ae8c58a3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ static ResultEntry* results = nullptr;
//========================= GekkoFS Operation Macros
//===========================//

#define GKFS_OPERATION(name, ...)                                              \
#define GKFS_OPERATION(name, fd, ...)                                          \
    if(CTX->interception_enabled() && is_gkfs_fd(fd)) {                        \
        auto res = gkfs::syscall::gkfs_##name(__VA_ARGS__);                    \
        DEBUG_INFO("[GKFS] {}(fd={}) -> res {}", #name, fd, res);              \