summaryrefslogtreecommitdiff
path: root/tools/virtio/ringtest/main.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-05-22 12:10:49 (GMT)
committerMichael S. Tsirkin <mst@redhat.com>2016-05-22 16:44:14 (GMT)
commitbb991288728e6a47a6f0fac6a4e9dfaeecc27956 (patch)
tree46f859c88cce1422841726811550af1563365084 /tools/virtio/ringtest/main.c
parent87c9403b0d1de4676b0bd273eea68fcf6de68e68 (diff)
downloadlinux-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.xz
ringtest: pass buf != NULL
just a stub pointer for now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio/ringtest/main.c')
-rw-r--r--tools/virtio/ringtest/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/ringtest/main.c b/tools/virtio/ringtest/main.c
index 3a5ff43..147abb4 100644
--- a/tools/virtio/ringtest/main.c
+++ b/tools/virtio/ringtest/main.c
@@ -115,7 +115,7 @@ static void run_guest(void)
do {
if (started < bufs &&
started - completed < max_outstanding) {
- r = add_inbuf(0, NULL, "Hello, world!");
+ r = add_inbuf(0, "Buffer\n", "Hello, world!");
if (__builtin_expect(r == 0, true)) {
++started;
if (!--tokick) {