diff options
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r-- | sys/dev/pv/hyperv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c index 1c54dd75e17..fd83b31d06b 100644 --- a/sys/dev/pv/hyperv.c +++ b/sys/dev/pv/hyperv.c @@ -1276,7 +1276,7 @@ hv_ring_write(struct hv_ring_data *wrd, struct iovec *iov, int iov_cnt, for (i = 0; i < iov_cnt; i++) hv_ring_put(wrd, iov[i].iov_base, iov[i].iov_len); - indices = (uint64_t)wrd->rd_prod << 32; + indices = (uint64_t)oprod << 32; hv_ring_put(wrd, (uint8_t *)&indices, sizeof(indices)); membar_sync(); |