git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Solaris: Don't access lbolt directly
[openafs.git]
/
src
/
afs
/
SOLARIS
/
osi_sleep.c
diff --git
a/src/afs/SOLARIS/osi_sleep.c
b/src/afs/SOLARIS/osi_sleep.c
index
a219d78
..
bf62279
100644
(file)
--- a/
src/afs/SOLARIS/osi_sleep.c
+++ b/
src/afs/SOLARIS/osi_sleep.c
@@
-176,7
+176,11
@@
osi_TimedSleep(char *event, afs_int32 ams, int aintok)
clock_t ticks;
ticks = (ams * afs_hz) / 1000;
+#if defined(AFS_SUN510_ENV)
+ ticks = ticks + ddi_get_lbolt();
+#else
ticks = ticks + lbolt;
+#endif
evp = afs_getevent(event);