diff options
| author | Roger Pau Monné <royger@FreeBSD.org> | 2018-05-24 10:17:03 +0000 |
|---|---|---|
| committer | Roger Pau Monné <royger@FreeBSD.org> | 2018-05-24 10:17:03 +0000 |
| commit | 7c743c89a068dd36b60dab9a485e9b5195c8e1cc (patch) | |
| tree | 938a93f1b56ccdae53654f60f0730d41baff1a29 /sys/dev/xen | |
| parent | 5f8f664619ecc3afcbc3573a64a814646b3584ba (diff) | |
Notes
Diffstat (limited to 'sys/dev/xen')
| -rw-r--r-- | sys/dev/xen/xenstore/xenstore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xen/xenstore/xenstore.c b/sys/dev/xen/xenstore/xenstore.c index cd9f033081b5..197e16029ef4 100644 --- a/sys/dev/xen/xenstore/xenstore.c +++ b/sys/dev/xen/xenstore/xenstore.c @@ -742,8 +742,8 @@ xs_read_reply(enum xsd_sockmsg_type *type, u_int *len, void **result) mtx_lock(&xs.reply_lock); while (TAILQ_EMPTY(&xs.reply_list)) { - error = mtx_sleep(&xs.reply_list, &xs.reply_lock, - PCATCH, "xswait", hz/10); + error = mtx_sleep(&xs.reply_list, &xs.reply_lock, 0, "xswait", + hz/10); if (error && error != EWOULDBLOCK) { mtx_unlock(&xs.reply_lock); return (error); |
