Skip to content

Commit

Permalink
fix(stats): fixed cputime on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Jan 2, 2023
1 parent 277a2ab commit 06db1ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/stats.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function M.cputime()
} nanotime;
int clock_gettime(clockid_t clk_id, struct timespec *tp);
]])
if M.C.clock_gettime then
if ffi.C.clock_gettime then
M.C = ffi.C
end
end)
Expand Down

0 comments on commit 06db1ec

Please sign in to comment.