summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_hdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_hdio.c')
-rw-r--r--sys/compat/linux/linux_hdio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_hdio.c b/sys/compat/linux/linux_hdio.c
index ac96e740c10..3071eea93e0 100644
--- a/sys/compat/linux/linux_hdio.c
+++ b/sys/compat/linux/linux_hdio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_hdio.c,v 1.7 2010/05/18 04:41:14 dlg Exp $ */
+/* $OpenBSD: linux_hdio.c,v 1.8 2012/04/22 05:43:14 guenther Exp $ */
/* $NetBSD: linux_hdio.c,v 1.1 2000/12/10 14:12:17 fvdl Exp $ */
/*
@@ -179,6 +179,6 @@ linux_ioctl_hdio(struct proc *p, struct linux_sys_ioctl_args *uap,
error = EINVAL;
}
- FRELE(fp);
+ FRELE(fp, p);
return error;
}