From 9dea3b0fcd423ad5ecfc91ab1f3db3e8e7e855fd Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Feb 2015 05:26:48 -0500 Subject: [PATCH] ddnuke: document error case better --- ddnuke.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddnuke.c b/ddnuke.c index 774830e..94691b3 100644 --- a/ddnuke.c +++ b/ddnuke.c @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) ret = write(fd, zero, sizeof(zero)); pos += ret; if (ret != sizeof(zero)) { - printf("\ngot back %zi (wanted %zu)\n%'llu MB/s over entire run\n", + printf("\nread() returned %zi (wanted %zu)\n%'llu MB/s over entire run\n", ret, sizeof(zero), mbps(&itime, &etime, pos)); return 0; } -- 2.39.5