diff options
author | mav <mav@FreeBSD.org> | 2010-01-12 11:11:25 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2010-01-12 11:11:25 +0000 |
commit | 04bf24b5af9dd51bdf900c3dfaaf031e28ff6ef7 (patch) | |
tree | 9866e15adb938426a9630f7717655bce3f84317c /usr.bin/rwho | |
parent | a093b41dafbd7defb7612a20d5672d938b8a54ed (diff) | |
download | FreeBSD-src-04bf24b5af9dd51bdf900c3dfaaf031e28ff6ef7.zip FreeBSD-src-04bf24b5af9dd51bdf900c3dfaaf031e28ff6ef7.tar.gz |
Make OSS_GETVERSION ioctl really work. It has 'M' group, not 'P',
as different nearby ones, and was grabbed by MIXER_xxx() handler.
While there, replace '(cmd & MIXER_xxx(0)) == MIXER_xxx(0)' expressions
with more correct '(cmd & ~0xff) == MIXER_READ(0)'. Use of bit operations
to compare numeric fields doesn't looks sane.
MFC after: 1 month
Diffstat (limited to 'usr.bin/rwho')
0 files changed, 0 insertions, 0 deletions