summaryrefslogtreecommitdiff
path: root/bin/ksh/vi.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2014-09-22 23:40:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2014-09-22 23:40:47 +0000
commit6f4b010919ad9de3806fa56c0296c4fe1b5aca4c (patch)
tree71b2c81a23b57eac5dcc0365c855c1d6acf2ff28 /bin/ksh/vi.c
parent036c179a06fa472a6b3e6a42ea33dafc63ee2554 (diff)
stash a pointer to bpf_d in the knotes kn_hook instead of the device id.
we refcount the bpf_d memory correctly so it cant go away. possibly worse is the bpf minor id could be reused between the kq calls, so this seems safer to me. also avoids a list walk on each op cos the ptr is just there.
Diffstat (limited to 'bin/ksh/vi.c')
0 files changed, 0 insertions, 0 deletions