Fix wrong sizeof argument