diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2006-12-22 05:07:21 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2006-12-22 05:07:21 +0000 |
commit | 6e71b264de152512d7d44b1d1ddc4639a85f14c9 (patch) | |
tree | b1579397a51e813feb03993f009b8f0053688020 /usr.bin/elf2aout | |
parent | b84d1808f4d63bd1c0a32cef616cca4f395b2155 (diff) | |
download | FreeBSD-src-6e71b264de152512d7d44b1d1ddc4639a85f14c9.zip FreeBSD-src-6e71b264de152512d7d44b1d1ddc4639a85f14c9.tar.gz |
The second argument (type) to socket(2) is an enum, not a bitmask, so parse
it as an enum.
If an SCTP SOCK_SEQPACKET socket was opened, kdump would display this
wrong output:
socket(PF_INET,SOCK_STREAM|SOCK_RDM|SOCK_SEQPACKET,0x84)
instead of this correct output:
socket(PF_INET,SOCK_SEQPACKET,0x84)
MFC after: 2 weeks
Diffstat (limited to 'usr.bin/elf2aout')
0 files changed, 0 insertions, 0 deletions