Small setpriv fix