diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-04-02 19:55:11 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-04-02 19:55:11 +0000 |
commit | a55e1169da61fa81974081006c42e49a98442ad9 (patch) | |
tree | 27c59a7798c5a2653352ebda8993a82a4f045e21 /lib/libusbhid | |
parent | fdde865858c3237682a6b0ab261839d3b408b949 (diff) |
Eliminate superfluous 3rd params in fcntl(F_GETFL) calls.
ttymsg.c doesn't need to include fcntl.h.
Tweak standard fd sanitising to be more like the sanitise_stdfd()
used elsewhere, though other uses of 'nullfd' make importing
sanitise_stdfd() itself unappetizing.
Add a die(0) if dup2() fails.
suggestions & ok bluhm@
Diffstat (limited to 'lib/libusbhid')
0 files changed, 0 insertions, 0 deletions