From 6b602e59af8d360f7ca2c48734477c21a94396af Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Wed, 2 May 2012 17:47:46 -0400 Subject: [PATCH] Windows: cm_InitDaemon initialize cm_bkgQueueCountp[] Change-Id: Ie4abd1c26d54208921a78e421b447a8f4fc5684a Reviewed-on: http://gerrit.openafs.org/7313 Reviewed-by: Chas Williams - CONTRACTOR Tested-by: BuildBot Reviewed-by: Jeffrey Altman Tested-by: Jeffrey Altman --- src/WINNT/afsd/cm_daemon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WINNT/afsd/cm_daemon.c b/src/WINNT/afsd/cm_daemon.c index f8b9f773fe..fffbdb85a8 100644 --- a/src/WINNT/afsd/cm_daemon.c +++ b/src/WINNT/afsd/cm_daemon.c @@ -899,6 +899,7 @@ void cm_InitDaemon(int nDaemons) lock_InitializeRWLock(&cm_daemonLockp[i], "cm_daemonLock", LOCK_HIERARCHY_DAEMON_GLOBAL); cm_bkgListpp[i] = cm_bkgListEndpp[i] = NULL; + cm_bkgQueueCountp[i]=0; pstatus = pthread_create(&phandle, &tattr, cm_BkgDaemon, (LPVOID)(LONG_PTR)i); osi_assertx(pstatus == 0, "cm_BkgDaemon thread creation failure"); }