Browse Source

ringtest: pass buf != NULL

just a stub pointer for now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael S. Tsirkin 9 years ago
parent
commit
bb99128872
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/virtio/ringtest/main.c

+ 1 - 1
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) {