diff --git a/src/WINNT/afsd/cm_callback.c b/src/WINNT/afsd/cm_callback.c index a9689ffbd2..0e8cfb3cfb 100644 --- a/src/WINNT/afsd/cm_callback.c +++ b/src/WINNT/afsd/cm_callback.c @@ -1842,7 +1842,7 @@ void cm_CheckCBExpiration(void) osi_Log0(afsd_logp, "CheckCBExpiration"); - now = osi_Time(); + now = time(NULL); lock_ObtainWrite(&cm_scacheLock); for (i=0; inextp) { diff --git a/src/WINNT/afsd/cm_scache.c b/src/WINNT/afsd/cm_scache.c index 6f24d636c4..fe804f25d5 100644 --- a/src/WINNT/afsd/cm_scache.c +++ b/src/WINNT/afsd/cm_scache.c @@ -494,7 +494,7 @@ cm_SuspendSCache(void) * without network, the stat cache item will still be * considered valid. */ - now = osi_Time(); + now = time(NULL); lock_ObtainWrite(&cm_scacheLock); for ( scp = cm_data.allSCachesp; scp; scp = scp->allNextp ) {