aboutsummaryrefslogtreecommitdiff
path: root/coreutils/dd.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-08-19 10:30:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-08-19 10:30:55 +0200
commit8395bd3f52f8ed46fa3ffc316b2d113afa748bae (patch)
tree934074bdbfa62fb8416773d1fe196fd1f194684e /coreutils/dd.c
parentb941316ae5313be523b64f0a9151ee4decb2b35b (diff)
downloadbusybox-w32-8395bd3f52f8ed46fa3ffc316b2d113afa748bae.tar.gz
busybox-w32-8395bd3f52f8ed46fa3ffc316b2d113afa748bae.tar.bz2
busybox-w32-8395bd3f52f8ed46fa3ffc316b2d113afa748bae.zip
dd: fix example in a comment. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 1732a5c19..d6aa5efb1 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -382,7 +382,7 @@ int dd_main(int argc UNUSED_PARAM, char **argv)
382 } 382 }
383 if (flags & FLAG_SWAB) { 383 if (flags & FLAG_SWAB) {
384 /* If n is odd, last byte is not swapped: 384 /* If n is odd, last byte is not swapped:
385 * echo -n "qwe" | dd conv=swab bs=1 385 * echo -n "qwe" | dd conv=swab
386 * prints "wqe". 386 * prints "wqe".
387 * The code does not handle correctly odd-sized reads 387 * The code does not handle correctly odd-sized reads
388 * in the *middle* of the input. FIXME. 388 * in the *middle* of the input. FIXME.