summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-05-22 14:10:49 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-05-22 18:44:14 +0200
commitbb991288728e6a47a6f0fac6a4e9dfaeecc27956 (patch)
tree46f859c88cce1422841726811550af1563365084 /tools
parentvirtio_balloon: fix PFN format for virtio-1 (diff)
downloadlinux-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.xz
linux-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.zip
ringtest: pass buf != NULL
just a stub pointer for now. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
-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 3a5ff438bd62..147abb452a6c 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) {