diff options
| author | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-12 01:37:13 +0000 |
|---|---|---|
| committer | Matthew Dillon <dillon@FreeBSD.org> | 2003-01-12 01:37:13 +0000 |
| commit | cd72f2180bfff020d03180e6eba1c3a0e0125468 (patch) | |
| tree | 19da0d56c468b8e0f6d0361d7d39157f561aa69f /sys/vm | |
| parent | 1bd6f83d4d49a87f27dbfe50f9717a182e9f1f47 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 1f9f428b7191e..8462550be887e 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -309,7 +309,7 @@ mmap(td, uap) */ if (fp->f_flag & FPOSIXSHM) flags |= MAP_NOSYNC; - vp = (struct vnode *) fp->f_data; + vp = fp->un_data.vnode; error = vget(vp, LK_EXCLUSIVE, td); if (error) goto done; |
