summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/fs/sockfs/sockcommon_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
index 00057d304b..2e3442e879 100644
--- a/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
+++ b/usr/src/uts/common/fs/sockfs/sockcommon_subr.c
@@ -1571,7 +1571,7 @@ so_strioc_nread(struct sonode *so, intptr_t arg, int mode, int32_t *rvalp)
goto out;
/* Do a timed sleep, in case the reader goes to sleep. */
- (void) cv_reltimedwait(&so->so_state_cv, &so->so_lock, wakeup,
+ (void) cv_reltimedwait(&so->so_read_cv, &so->so_lock, wakeup,
TR_CLOCK_TICK);
}