From 9f3a5859378ac01648ca0caf01b04ad57c871baa Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 14 Oct 2017 18:28:56 +0100 Subject: Profiler: Fix var args not being passed to callback register function Fixes #6517 --- builtin/profiler/instrumentation.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'builtin') diff --git a/builtin/profiler/instrumentation.lua b/builtin/profiler/instrumentation.lua index be3a460e5..7c21859d3 100644 --- a/builtin/profiler/instrumentation.lua +++ b/builtin/profiler/instrumentation.lua @@ -133,7 +133,7 @@ local function instrument_register(func, func_name) return func(instrument { func = callback, func_name = register_name - }), ... + }, ...) end end -- cgit v1.2.3