summaryrefslogtreecommitdiff
path: root/usr.bin/diff
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2021-11-06 05:26:34 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2021-11-06 05:26:34 +0000
commit050fdf90f8fece4f71708c1c4b9da22eb0e54775 (patch)
tree4b95810071cc86f4d428a8814b063f420a581388 /usr.bin/diff
parent447e4ee17bda5f288d7e640d8b61378c06fa0d35 (diff)
Allocate socket and initialize so_lock in one place
This makes witness(4) use a single lock type for tracking so_lock. Previously, so_lock was covered by two distinct lock types because there were separate rw_init() initializers in socreate() and sonewconn(). OK kettenis@
Diffstat (limited to 'usr.bin/diff')
0 files changed, 0 insertions, 0 deletions