On the regularity of the solution of a variational inequality