sm: Use the correct string in an error message.