summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/evchannels.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/evchannels.c')
-rw-r--r--usr/src/uts/common/os/evchannels.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/evchannels.c b/usr/src/uts/common/os/evchannels.c
index cef23555f6..6af0c10340 100644
--- a/usr/src/uts/common/os/evchannels.c
+++ b/usr/src/uts/common/os/evchannels.c
@@ -1655,6 +1655,8 @@ evch_chrdevent_init(evch_chan_t *chp, char *subid)
pmqstat = evch_evq_status(chp->ch_queue);
if (pmqstat == 0)
evch_evq_stop(chp->ch_queue);
+
+ psqstat = 0;
if (sdp != NULL) {
psqstat = evch_evq_status(sdp->sd_queue);
if (psqstat == 0)