ringtest: pass buf != NULL
authorMichael S. Tsirkin <mst@redhat.com>
Sun, 22 May 2016 12:10:49 +0000 (15:10 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 22 May 2016 16:44:14 +0000 (19:44 +0300)
just a stub pointer for now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/ringtest/main.c

index 3a5ff43..147abb4 100644 (file)
@@ -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) {