summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-06-28 13:47:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-06-28 13:47:34 +0000
commit11a95e36dd26166202bcffe1fb7e3b8a72509d9e (patch)
tree5da721c66155fcc419e717a098a8ccb83f565525 /lib
parent82f05f7038fa65ca0f20878b116938633dcc582b (diff)
When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions