1
0
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:
Christian S.J. Peron 2007-10-27 22:28:01 +00:00
parent e71f249b66
commit 4777d3f98a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173083

View File

@ -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);
/*