From bc674908ca5100a0734069a019d9a31788dd52fb Mon Sep 17 00:00:00 2001 From: Toby Burress Date: Wed, 19 Jan 2011 23:32:01 -0500 Subject: [PATCH] FreeBSD: properly identify the rxk_Listener so that msleep() returns afs_osi_Wakeup() was not being called with the proper argument, causing afs_osi_Sleep() to fail forever while waiting for rxk_Listener to wake up. Change-Id: I1b650c57ae507987359d0cb230400d3d23984cfa Reviewed-on: http://gerrit.openafs.org/3692 Tested-by: BuildBot Reviewed-by: Derrick Brashear --- src/rx/rx_kcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rx/rx_kcommon.c b/src/rx/rx_kcommon.c index e335308c9c..f50abeb6de 100644 --- a/src/rx/rx_kcommon.c +++ b/src/rx/rx_kcommon.c @@ -1273,7 +1273,7 @@ rxk_Listener(void) rxk_ListenerTask = 0; osi_rxWakeup(&rxk_ListenerTask); #endif -#if defined(AFS_SUN5_ENV) +#if defined(AFS_SUN5_ENV) || defined(AFS_FBSD_ENV) osi_rxWakeup(&rxk_ListenerPid); #endif #ifdef AFS_SUN5_ENV