From: Sean Hefty Date: Thu, 25 Oct 2012 01:03:15 +0000 (-0700) Subject: Refresh of riostream X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=8d70ad25a68ae8528221035fed6e25a249f720d7;p=~shefty%2Flibrdmacm.git Refresh of riostream --- diff --git a/examples/riostream.c b/examples/riostream.c index 7333a3d9..dfb03e50 100644 --- a/examples/riostream.c +++ b/examples/riostream.c @@ -291,7 +291,7 @@ static int send_xfer(int size) if (ret > 0) { offset += ret; } else if (errno != EWOULDBLOCK && errno != EAGAIN) { - perror("rsend"); + perror("riowrite"); return ret; } } @@ -371,6 +371,7 @@ static int run_test(void) *poll_byte = -1; offset = riomap(rs, buf, transfer_size, PROT_WRITE, 0, 0); if (offset == -1) { + perror("riomap"); ret = -1; goto out; }