summaryrefslogtreecommitdiff
path: root/usr.sbin/hostctl
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-09-02 15:45:42 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-09-02 15:45:42 +0000
commit2c6d581511829271c11d81765b9c07cf230c6b9c (patch)
tree46990429c89297ef8980a7d990a63d4418af8066 /usr.sbin/hostctl
parent27386e386742c523943caafbb8a0256ea27cb6bf (diff)
The iwm_poll_bit() function in iwm(4) returns 1 on success, and 0 on failure.
So instead of "if (ret < 0) {" we should check for "if (!ret) {". Patch by Imre Vadasz
Diffstat (limited to 'usr.sbin/hostctl')
0 files changed, 0 insertions, 0 deletions