diff options
| author | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-21 20:29:46 +0000 |
|---|---|---|
| committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2016-03-21 20:29:46 +0000 |
| commit | 4f0d7851428fa90b2ad3ec3718471382f04c8134 (patch) | |
| tree | fd850236fd4ab61a105a4080c010982a608769c2 /sys/dev/filemon | |
| parent | 4d3cfa1d9c823d29011fa0e34feb228e62edc899 (diff) | |
Notes
Diffstat (limited to 'sys/dev/filemon')
| -rw-r--r-- | sys/dev/filemon/filemon_wrapper.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c index 4d2d88aabec1..262d6b63aeb9 100644 --- a/sys/dev/filemon/filemon_wrapper.c +++ b/sys/dev/filemon/filemon_wrapper.c @@ -103,8 +103,7 @@ filemon_event_process_exec(void *arg __unused, struct proc *p, fullpath = "<unknown>"; freepath = NULL; - vn_fullpath(FIRST_THREAD_IN_PROC(p), imgp->vp, &fullpath, - &freepath); + vn_fullpath(curthread, imgp->vp, &fullpath, &freepath); len = snprintf(filemon->msgbufr, sizeof(filemon->msgbufr), "E %d %s\n", |
