diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-05-22 08:10:49 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-05-22 12:44:14 -0400 |
commit | bb991288728e6a47a6f0fac6a4e9dfaeecc27956 (patch) | |
tree | 46f859c88cce1422841726811550af1563365084 /tools | |
parent | 87c9403b0d1de4676b0bd273eea68fcf6de68e68 (diff) |
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.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) | |||
115 | do { | 115 | do { |
116 | if (started < bufs && | 116 | if (started < bufs && |
117 | started - completed < max_outstanding) { | 117 | started - completed < max_outstanding) { |
118 | r = add_inbuf(0, NULL, "Hello, world!"); | 118 | r = add_inbuf(0, "Buffer\n", "Hello, world!"); |
119 | if (__builtin_expect(r == 0, true)) { | 119 | if (__builtin_expect(r == 0, true)) { |
120 | ++started; | 120 | ++started; |
121 | if (!--tokick) { | 121 | if (!--tokick) { |