]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 3a5ff438bd62f62296f6cbe5cf3a42e7f5bb1078..147abb452a6ccc098bf50338e0c353f4b8896f8a 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) {