From bb991288728e6a47a6f0fac6a4e9dfaeecc27956 Mon Sep 17 00:00:00 2001 From: "Michael S. Tsirkin" Date: Sun, 22 May 2016 15:10:49 +0300 Subject: ringtest: pass buf != NULL just a stub pointer for now. Signed-off-by: Michael S. Tsirkin --- tools/virtio/ringtest/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/virtio') 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) { -- cgit v1.2.3