]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Properly convert the error number to CloudABI's indexing.
authorEd Schouten <ed@FreeBSD.org>
Tue, 11 Aug 2015 14:07:04 +0000 (14:07 +0000)
committerEd Schouten <ed@FreeBSD.org>
Tue, 11 Aug 2015 14:07:04 +0000 (14:07 +0000)
commit9d9123a80d2358659e95e547b6b662b29f8b8b78
tree168cdcb9e73dde6be3550fc008ddcac6f6b64011
parente26f6b5f6b8e9a90df2045513f13bb25630db9ec
Properly convert the error number to CloudABI's indexing.

We currently return FreeBSD's errno value directly, which is of course
not correct.
sys/compat/cloudabi/cloudabi_sock.c