# HG changeset patch # User Elliott Hughes # Date 1427132345 18000 # Node ID 8f59893165fa59eb8f6dea14df02a732bd6e4400 # Parent 12761285eaee61d5bc21d45606d7c795e11b6927 add missing space in dd output Also, coreutils says "s" instead of "seconds". POSIX specifies the format of the previous two lines, but doesn't even mention this line. diff -r 12761285eaee -r 8f59893165fa toys/pending/dd.c --- a/toys/pending/dd.c Mon Mar 23 11:49:58 2015 -0500 +++ b/toys/pending/dd.c Mon Mar 23 12:39:05 2015 -0500 @@ -134,9 +134,9 @@ fprintf(stderr,"%llu+%llu records in\n%llu+%llu records out\n", st.in_full, st.in_part, st.out_full, st.out_part); human_readable(toybuf, st.bytes); - fprintf(stderr, "%llu bytes (%s) copied,",st.bytes, toybuf); + fprintf(stderr, "%llu bytes (%s) copied, ",st.bytes, toybuf); human_readable(toybuf, st.bytes/seconds); - fprintf(stderr, "%f seconds, %s/s\n", seconds, toybuf); + fprintf(stderr, "%f s, %s/s\n", seconds, toybuf); } static void sig_handler(int sig)