summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-03-11 16:33:11 +0000
committerphk <phk@FreeBSD.org>2004-03-11 16:33:11 +0000
commiteeb7579130ee3380d0348cb447d9c484c6c4b45e (patch)
tree208435a2d9319871f8e0f6d3c8d389050ba3446e /sys/compat/linux
parentb4f24d501388e451effb83554929f95bd6883301 (diff)
downloadFreeBSD-src-eeb7579130ee3380d0348cb447d9c484c6c4b45e.zip
FreeBSD-src-eeb7579130ee3380d0348cb447d9c484c6c4b45e.tar.gz
Remove unused second arg to vfinddev().
Don't call addaliasu() on VBLK nodes.
Diffstat (limited to 'sys/compat/linux')
-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 9d61de2..eaf6da0 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
OpenPOWER on IntegriCloud