diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-05-22 15:10:49 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-05-22 19:44:14 +0300 |
commit | bb991288728e6a47a6f0fac6a4e9dfaeecc27956 (patch) | |
tree | 46f859c88cce1422841726811550af1563365084 /tools/virtio | |
parent | 87c9403b0d1de4676b0bd273eea68fcf6de68e68 (diff) | |
download | linux-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.gz linux-bb991288728e6a47a6f0fac6a4e9dfaeecc27956.tar.bz2 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/virtio')
-rw-r--r-- | tools/virtio/ringtest/main.c | 2 |
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) { |