aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/filemon
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-05-27 23:57:53 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-05-27 23:57:53 +0000
commit7ae27ff96311cb94a3fcb96b4a17938788b7b0fd (patch)
tree6bf1d60cdba9a49423069e8c1c615dd21148440c /sys/dev/filemon
parentf14fbe72ece11d0146d309a2f0126b058e51c7d7 (diff)
downloadsrc-7ae27ff96311cb94a3fcb96b4a17938788b7b0fd.tar.gz
src-7ae27ff96311cb94a3fcb96b4a17938788b7b0fd.zip
Write to the log using the tracer's credentials.
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=300891
Diffstat (limited to 'sys/dev/filemon')
-rw-r--r--sys/dev/filemon/filemon_wrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/filemon/filemon_wrapper.c b/sys/dev/filemon/filemon_wrapper.c
index 64b703c196e0..ba4fe1603249 100644
--- a/sys/dev/filemon/filemon_wrapper.c
+++ b/sys/dev/filemon/filemon_wrapper.c
@@ -65,7 +65,7 @@ filemon_output(struct filemon *filemon, char *msg, size_t len)
if (filemon->fp->f_type == DTYPE_VNODE)
bwillwrite();
- error = fo_write(filemon->fp, &auio, curthread->td_ucred, 0, curthread);
+ error = fo_write(filemon->fp, &auio, filemon->cred, 0, curthread);
if (error != 0)
filemon->error = error;
}