summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_hibernate.c
diff options
context:
space:
mode:
authorratchov <ratchov@openbsd.org>2021-03-10 08:22:25 +0000
committerratchov <ratchov@openbsd.org>2021-03-10 08:22:25 +0000
commitd0ac6fca86a4b5e180d607ae17223249021e624d (patch)
treece4c9051e17282e4ed85020ea54095c7dd575dc6 /sys/kern/subr_hibernate.c
parentsndiod: Style tweak: swap if/else code blocks in slot_new() (diff)
downloadwireguard-openbsd-d0ac6fca86a4b5e180d607ae17223249021e624d.tar.xz
wireguard-openbsd-d0ac6fca86a4b5e180d607ae17223249021e624d.zip
sndiod: When a slot structure is recycled allocate new control
Trying to rename the program level control is not needed anymore. When a slot is given to another program, the new ctl_{new,del}() functions can be used to delete the control of the old program and create a new one for the new program. Cleaner, simpler.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions