Fix typo in error message
Merge pull request #3482 from Gama11/patch-8

Fix typo in error message