aboutsummaryrefslogtreecommitdiff
path: root/sys/compat
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-03-11 16:33:11 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-03-11 16:33:11 +0000
commit651b11eaf2cbdd5e92654c6b7e842764e42a62b1 (patch)
tree208435a2d9319871f8e0f6d3c8d389050ba3446e /sys/compat
parent5faeb9c6825a94d80c42546ec4332629ccbf4077 (diff)
downloadsrc-651b11eaf2cbdd5e92654c6b7e842764e42a62b1.tar.gz
src-651b11eaf2cbdd5e92654c6b7e842764e42a62b1.zip
Remove unused second arg to vfinddev().
Don't call addaliasu() on VBLK nodes.
Notes
Notes: svn path=/head/; revision=126851
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_stats.c b/sys/compat/linux/linux_stats.c
index 9d61de2064b9..eaf6da07e648 100644
--- a/sys/compat/linux/linux_stats.c
+++ b/sys/compat/linux/linux_stats.c
@@ -366,7 +366,7 @@ linux_ustat(struct thread *td, struct linux_ustat_args *args)
* ustat in that case.
*/
dev = udev2dev(makeudev(args->dev >> 8, args->dev & 0xFF));
- if (dev != NODEV && vfinddev(dev, VCHR, &vp)) {
+ if (dev != NODEV && vfinddev(dev, &vp)) {
if (vp->v_mount == NULL)
return (EINVAL);
#ifdef MAC