Call ksem_get() with initialized 'rights'.
authorpluknet <pluknet@FreeBSD.org>
Thu, 23 Jul 2015 23:18:03 +0000 (23:18 +0000)
committerpluknet <pluknet@FreeBSD.org>
Thu, 23 Jul 2015 23:18:03 +0000 (23:18 +0000)
commitbb70a403181063f673b3949f7f00f062d12e66f6
tree5797110201c1623ee2eebb269174740730d16708
parent3fb666cfae854507b98d7718c7fe4c8255c66bec
Call ksem_get() with initialized 'rights'.

ksem_get() consumes fget(), and it's mandatory there.

Reported by: truckman
Reviewed by: mjg
sys/kern/uipc_sem.c