aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_tpc.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2015-10-01 18:18:58 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2015-10-01 18:18:58 +0000
commit66917ca9d2bea3fa9c890412c55f4929bb63118b (patch)
tree7b3e00097680a021324da9f6bc90f55060401bdf /sys/cam/ctl/ctl_tpc.c
parent72df19e7abdded4170790c8600dc742db0f584e2 (diff)
downloadsrc-66917ca9d2bea3fa9c890412c55f4929bb63118b.tar.gz
src-66917ca9d2bea3fa9c890412c55f4929bb63118b.zip
Rather than groveling around in a socket address structure for a socket
address's length (and then overriding it if it "looks wrong"), use the next argument to the system call to determine the length. This is more reliable since this is what the kernel depends on anyway and is also simpler.
Notes
Notes: svn path=/head/; revision=288456
Diffstat (limited to 'sys/cam/ctl/ctl_tpc.c')
0 files changed, 0 insertions, 0 deletions