Commit 8aca9c68 authored by Ramon Nou's avatar Ramon Nou
Browse files

restore fd on GKFS_OPERATION

parent 6566f1b5
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ static ResultEntry* results = nullptr;
#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);              \
        DEBUG_INFO("[GKFS] (fd={}) -> res {}", fd, res);                       \
        return res;                                                            \
    }