Fix misspelled parameter usage

It'd be good to also change it in this error message.