Return -errno insead of return value in connector.c
Merge pull request #276 from neithernut/fix-read_write_invocations

Return -errno insead of return value in connector.c