Update the return for returning errno consts

The indention of the PR was to check that every function returns errno (if
it should return a status).

Actually, only one line in the documentation was wrong, which is fixed by
this PR.