Allow an error code to be returned in the head.error element of the ioctl.