From: Mike Frysinger Date: Sun, 15 Feb 2015 10:26:48 +0000 (-0500) Subject: ddnuke: document error case better X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9dea3b0fcd423ad5ecfc91ab1f3db3e8e7e855fd;p=home.git ddnuke: document error case better --- 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; }