diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-01-12 12:11:26 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-01-12 13:16:10 +0000 |
| commit | 6b3a9a0f3d2cd66145e89fdd8d07cb33a9963e8f (patch) | |
| tree | 8a090da47623f58c71e81b4c9bc28b847217d889 /sys/dev/filemon | |
| parent | c00ec4dab276414ccc8a0712dd2f836bb17349d7 (diff) | |
Diffstat (limited to 'sys/dev/filemon')
| -rw-r--r-- | sys/dev/filemon/filemon_wrapper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c index 52dd3bb483eb..4e64d8254f8d 100644 --- a/sys/dev/filemon/filemon_wrapper.c +++ b/sys/dev/filemon/filemon_wrapper.c @@ -185,7 +185,7 @@ _filemon_wrapper_openat(struct thread *td, const char *upath, int flags, * than nothing. */ if (getvnode(td, fd, - cap_rights_init(&rights, CAP_LOOKUP), &fp) == 0) { + cap_rights_init_one(&rights, CAP_LOOKUP), &fp) == 0) { vn_fullpath(fp->f_vnode, &atpath, &freepath); } } |
