diff options
author | Yang Hongyang <yanghy@cn.fujitsu.com> | 2015-10-20 09:51:25 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-27 10:30:40 +0800 |
commit | edc981443d5bd23e01639c2fbba4fbc2dc30204f (patch) | |
tree | 962fb402b6c57523d2d494079a0c3a60cd1cc5c2 /qemu-timer.c | |
parent | 5320c2caf43cc76748a1ffa0fdcaa9eb501d3fcd (diff) |
net: make iov_to_buf take right size argument in nc_sendv_compat()
We want "buf, sizeof(buf)" here. sizeof(buffer) is the size of a
pointer, which is wrong.
Thanks to Paolo for pointing it out.
Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions