From 081f1765839834e8e06e8d0b8294ab54ced5c238 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Sat, 1 Mar 2003 18:16:01 +0000 Subject: [PATCH] openbsd-20030301 Use PVFS for tsleep. PZERO is obsolete. --- src/afs/OBSD/osi_sleep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/afs/OBSD/osi_sleep.c b/src/afs/OBSD/osi_sleep.c index f22922f80..268ad7abb 100644 --- a/src/afs/OBSD/osi_sleep.c +++ b/src/afs/OBSD/osi_sleep.c @@ -90,11 +90,11 @@ int afs_osi_Wait(afs_int32 ams, struct afs_osi_WaitHandle *ahandle, int aintok) AFS_GUNLOCK(); do { if (aintok) { - code = tsleep(&waitV, PCATCH | (PZERO+8), "afs_osi_Wait", timo); + code = tsleep(&waitV, PCATCH | PVFS, "afs_osi_Wait", timo); if (code) /* if interrupted, return EINTR */ code = EINTR; } else - tsleep(&waitV, (PZERO-3), "afs_osi_Wait", timo); + tsleep(&waitV, PVFS, "afs_osi_Wait", timo); /* if we were cancelled, quit now */ if (ahandle && (ahandle->proc == NULL)) { -- 2.39.5