summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-05-22 15:10:49 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-05-22 19:44:14 +0300
commitbb991288728e6a47a6f0fac6a4e9dfaeecc27956 (patch)
tree46f859c88cce1422841726811550af1563365084 /tools
parent87c9403b0d1de4676b0bd273eea68fcf6de68e68 (diff)
downloadlinux-stable-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.gz
linux-stable-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.bz2
linux-stable-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) {