diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-01-10 12:04:27 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-01-10 12:04:27 +0000 |
| commit | ba4ad1fceab8c8580845aa2006c51598a2573117 (patch) | |
| tree | 18a662684776d0307002fcf3247bb0efcf2af594 /sys/miscfs/devfs | |
| parent | 54294f449414011dfbfc8f2ccc7c56873d828333 (diff) | |
Notes
Diffstat (limited to 'sys/miscfs/devfs')
| -rw-r--r-- | sys/miscfs/devfs/devfs_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c index 4d1c8bdf57d9..51315c7fcf18 100644 --- a/sys/miscfs/devfs/devfs_vnops.c +++ b/sys/miscfs/devfs/devfs_vnops.c @@ -1316,7 +1316,7 @@ devfs_open( struct vop_open_args *ap) if ( (dsw == NULL) || (dsw->d_open == NULL)) return ENXIO; if (ap->a_cred != FSCRED && (ap->a_mode & FWRITE) && - vn_isdisk(vp)) { + vn_isdisk(vp, NULL)) { /* * When running in very secure mode, do not allow * opens for writing of any disk devices. |
