1
0
Fork 0

ringtest: pass buf != NULL

just a stub pointer for now.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hifive-unleashed-5.1
Michael S. Tsirkin 2016-05-22 15:10:49 +03:00
parent 87c9403b0d
commit bb99128872
1 changed files with 1 additions and 1 deletions

View 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) {