From 8d70ad25a68ae8528221035fed6e25a249f720d7 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Wed, 24 Oct 2012 18:03:15 -0700 Subject: [PATCH] Refresh of riostream --- examples/riostream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.41.0