1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/usr.bin/kdump
Craig Rodrigues 7e3d8842da 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
2006-12-22 05:07:21 +00:00
..
kdump_subr.h
kdump.1
kdump.c o Fix some printf(3) format nits in my patch I submitted to kib@. 2006-07-12 13:36:08 +00:00
Makefile
mkioctls
mksubr The second argument (type) to socket(2) is an enum, not a bitmask, so parse 2006-12-22 05:07:21 +00:00