Fix mismatched function signature and function call

Signed-off-by: Ivan Habunek <ihabunek@apache.org>