mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Make sure we are incrementing the read count for each audit pipe read.
MFC after: 1 week
This commit is contained in:
parent
e71f249b66
commit
4777d3f98a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173083
@ -934,6 +934,7 @@ audit_pipe_read(struct cdev *dev, struct uio *uio, int flag)
|
||||
audit_pipe_entry_free(ape);
|
||||
ap->ap_truncates++;
|
||||
} while (1);
|
||||
ap->ap_reads++;
|
||||
mtx_unlock(&audit_pipe_mtx);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user