Commit 917b52f9 authored by Ramon Nou's avatar Ramon Nou
Browse files

restore fd on GKFS_OPERATION

parent 8aca9c68
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, fd, ...)                                          \
#define GKFS_OPERATION(name, ...)                                              \
    if(CTX->interception_enabled() && is_gkfs_fd(fd)) {                        \
        auto res = gkfs::syscall::gkfs_##name(__VA_ARGS__);                    \
        DEBUG_INFO("[GKFS] (fd={}) -> res {}", fd, res);                       \