libislet: fix typo in function