]> git.wh0rd.org Git - home.git/commitdiff
ddnuke: document error case better
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 10:26:48 +0000 (05:26 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 10:26:48 +0000 (05:26 -0500)
ddnuke.c

index 774830e82eb18efa852ed3636ddb01818079d0d0..94691b34d96b8dfa0cef8b74f861fc5d8093809c 100644 (file)
--- 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;
                }