summaryrefslogtreecommitdiff
path: root/usr/src/cmd/vntsd/write.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-04-02 11:09:47 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-04-02 11:09:47 +0000
commit080b163baec0c5a81b2717cf504cac1e0e1f143f (patch)
tree4eacda3b227a9fa30fbb91930f726a8eeb045ba3 /usr/src/cmd/vntsd/write.c
parentee42d232c75feb49ab18a118a8a3b7fc3ea9f0c4 (diff)
parent30c304d9746f4a048a7de56d31333b0fa8e43dee (diff)
downloadillumos-joyent-080b163baec0c5a81b2717cf504cac1e0e1f143f.tar.gz
[illumos-gate merge]
commit 30c304d9746f4a048a7de56d31333b0fa8e43dee 7119 boot should handle change in physical path to ZFS root devices commit 476d5ff73c235a63ab06a9852e510910a3ce1793 12432 vntsd: NULL pointer errors commit 86e38daa32bf0ca85f79384da2d3e43bf87f328b 12402 audiocmihd: variable may be used uninitialized commit f70049b72ff8162093254e3d617172d6df9705f1 12415 ecpp: variable may be used uninitialized
Diffstat (limited to 'usr/src/cmd/vntsd/write.c')
-rw-r--r--usr/src/cmd/vntsd/write.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/cmd/vntsd/write.c b/usr/src/cmd/vntsd/write.c
index 9110056c11..a56c60e7dd 100644
--- a/usr/src/cmd/vntsd/write.c
+++ b/usr/src/cmd/vntsd/write.c
@@ -22,7 +22,6 @@
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
/*
* write thread - read from vcc console and write to tcp client. There are one
@@ -198,7 +197,7 @@ write_one_client(vntsd_client_t *clientp, write_buf_t *write_buf)
(void) mutex_lock(&clientp->lock);
clientp->status |= VNTSD_CLIENT_IO_ERR;
assert(clientp->cons);
- (void) thr_kill(clientp->cons_tid, NULL);
+ (void) thr_kill(clientp->cons_tid, 0);
(void) mutex_unlock(&clientp->lock);
}
return (B_FALSE);