Reset the value of errno for main()

Since libcap does some error testing with a pre-main() constructor,
reset errno to zero as that constructor returns.

Problem reported by Yang Xu.

Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
2 files changed