summaryrefslogtreecommitdiff
path: root/usr/src/lib/libpicltree/picltree.c
diff options
context:
space:
mode:
authoranbui <none@none>2007-12-14 20:58:21 -0800
committeranbui <none@none>2007-12-14 20:58:21 -0800
commit4c4e825045abf5a9c6a6454d691dbc70f04efd91 (patch)
tree3b876a47db1a2761ef518a0874ef7932c653592f /usr/src/lib/libpicltree/picltree.c
parentf9fbec18f5b458b560ecf45d3db8e8bd56bf6942 (diff)
downloadillumos-joyent-4c4e825045abf5a9c6a6454d691dbc70f04efd91.tar.gz
6547920 picl_wait(3PICL) incorrectly documents the value for no timeout (fix lint)
Diffstat (limited to 'usr/src/lib/libpicltree/picltree.c')
-rw-r--r--usr/src/lib/libpicltree/picltree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/libpicltree/picltree.c b/usr/src/lib/libpicltree/picltree.c
index a62c1caf72..101defc4d0 100644
--- a/usr/src/lib/libpicltree/picltree.c
+++ b/usr/src/lib/libpicltree/picltree.c
@@ -20,7 +20,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -3646,7 +3646,7 @@ xptree_refresh_notify(uint32_t secs)
curgen = ptree_generation;
while (curgen == ptree_generation) {
- if (secs == -1) /* wait forever */
+ if (secs == UINT32_MAX) /* wait forever */
(void) pthread_cond_wait(&ptree_refresh_cond,
&ptree_refresh_mutex);
else {