diff options
author | pst <pst@FreeBSD.org> | 1996-05-31 17:35:07 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1996-05-31 17:35:07 +0000 |
commit | 9926d3d1070d3f4662246ab5c74b7507faa0fd57 (patch) | |
tree | 86ef4f4e79c8fb8f300336ea037d7caaf3b91e61 /sys/i386 | |
parent | 7db7b1cde125e2f1b07ce515a44386287ffe20e3 (diff) | |
download | FreeBSD-src-9926d3d1070d3f4662246ab5c74b7507faa0fd57.zip FreeBSD-src-9926d3d1070d3f4662246ab5c74b7507faa0fd57.tar.gz |
Fix ioctl() operations...nasty typo
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/qcam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/qcam.c b/sys/i386/isa/qcam.c index a2fd292..2ff00c6 100644 --- a/sys/i386/isa/qcam.c +++ b/sys/i386/isa/qcam.c @@ -287,10 +287,10 @@ qcam_ioctl (dev_t dev, int cmd, caddr_t data, int flag, struct proc *p) switch (cmd) { case QC_GET: - return qcam_ioctl_get(qs, info) ? 0 : EINVAL; + return qcam_ioctl_get(qs, info) ? EINVAL : 0; case QC_SET: - return qcam_ioctl_set(qs, info) ? 0 : EINVAL; + return qcam_ioctl_set(qs, info) ? EINVAL : 0; default: return(ENOTTY); |