diff options
author | Devin Teske <dteske@FreeBSD.org> | 2018-02-11 03:02:29 +0000 |
---|---|---|
committer | Devin Teske <dteske@FreeBSD.org> | 2018-02-11 03:02:29 +0000 |
commit | e6c00555997cd2cf85870160530e5e8a9690f6ec (patch) | |
tree | 1f8f917d62ce541b3c3ef9ebda57c24358a14935 /sbin/geom/class | |
parent | 4b69e622d5b8a362621ed9bc22e6d88c02f39083 (diff) | |
download | src-e6c00555997cd2cf85870160530e5e8a9690f6ec.tar.gz src-e6c00555997cd2cf85870160530e5e8a9690f6ec.zip |
Fix typo in dtrace_tcp(4)
Using args[2]->tcps_state as-documented results in error:
operator -> cannot be applied to pointer to type "void"
This error is accurate as the synopsis for tcp:::state-change is:
tcp:::state-change(void *, csinfo_t *, void *, tcpsinfo_t *, void *,
tcplsinfo_t *);
args[2] refers to the third argument which is always NULL (as-
documented). The to-state for the TCP connection state transition is
actually in the fourth argument, args[3]->tcps_state.
Notes
Notes:
svn path=/head/; revision=329115
Diffstat (limited to 'sbin/geom/class')
0 files changed, 0 insertions, 0 deletions