diff options
| author | Alfred Perlstein <alfred@FreeBSD.org> | 2002-02-20 17:06:37 +0000 |
|---|---|---|
| committer | Alfred Perlstein <alfred@FreeBSD.org> | 2002-02-20 17:06:37 +0000 |
| commit | 2335a944a84a57752610d943f84e4f1cb7d427b2 (patch) | |
| tree | f221f24996724305c42c54e0bfe0419f2d9dfd89 /sys/compat | |
| parent | 6b33ceb8e3125880bea84652d769d73d2e92b371 (diff) | |
Notes
Diffstat (limited to 'sys/compat')
| -rw-r--r-- | sys/compat/linux/linux_ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index ec96415880e43..264ee591a5cb0 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -2313,9 +2313,10 @@ linux_ioctl(struct thread *td, struct linux_ioctl_args *args) TAILQ_FOREACH(he, &handlers, list) { if (cmd >= he->low && cmd <= he->high) { error = (*he->func)(td, args); - if (error != ENOIOCTL) + if (error != ENOIOCTL) { fdrop(fp, td); return (error); + } } } fdrop(fp, td); |
