Issue #17989: fix typo in error message