The error term in Nevanlinna’s inequality