Correct copied error message

Patch by Remco Verhoef.