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
@ -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…
x
Reference in New Issue
Block a user