Change that &@!$# UIO_READ to be UIO_WRITE. I tested the ktrace stuff,
but somehow... pass the pointy hat, again!
This commit is contained in:
parent
eea0015e6d
commit
9d1cfdce2a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=62791
@ -171,7 +171,7 @@ ktrgenio(vp, fd, rw, uio, error)
|
||||
kth->ktr_buf = (caddr_t)&ktg;
|
||||
kth->ktr_len = sizeof(struct ktr_genio);
|
||||
uio->uio_offset = 0;
|
||||
uio->uio_rw = UIO_READ;
|
||||
uio->uio_rw = UIO_WRITE;
|
||||
|
||||
ktrwrite(vp, kth, uio);
|
||||
FREE(kth, M_KTRACE);
|
||||
|
Loading…
Reference in New Issue
Block a user