summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-04-08 01:46:46 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-04-08 01:46:46 +0000
commit68eb5bca1abc45d2abcd046d8b126f7da46bb956 (patch)
tree797d70821a06a555b1e055d2ef8449019df4fd35 /bin
parenta1e3e2be476c7a5f3d00360a0956d3b386ead6aa (diff)
Correct comment about using m in blocksize (multiplies by 1048576 not 512).
Diffstat (limited to 'bin')
-rw-r--r--bin/dd/args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index be83c90ec4d..b7dd697a298 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: args.c,v 1.14 2003/06/11 23:42:12 deraadt Exp $ */
+/* $OpenBSD: args.c,v 1.15 2005/04/08 01:46:45 jsg Exp $ */
/* $NetBSD: args.c,v 1.7 1996/03/01 01:18:58 jtc Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)args.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: args.c,v 1.14 2003/06/11 23:42:12 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: args.c,v 1.15 2005/04/08 01:46:45 jsg Exp $";
#endif
#endif /* not lint */
@@ -321,7 +321,7 @@ c_conv(const void *a, const void *b)
* 1) A positive decimal number.
* 2) A positive decimal number followed by a b (mult by 512).
* 3) A positive decimal number followed by a k (mult by 1024).
- * 4) A positive decimal number followed by a m (mult by 512).
+ * 4) A positive decimal number followed by a m (mult by 1048576).
* 5) A positive decimal number followed by a w (mult by sizeof int)
* 6) Two or more positive decimal numbers (with/without k,b or w).
* separated by x (also * for backwards compatibility), specifying
@@ -391,7 +391,7 @@ erange: errx(1, "%s: %s", oper, strerror(ERANGE));
* 1) A positive decimal number.
* 2) A positive decimal number followed by a b (mult by 512).
* 3) A positive decimal number followed by a k (mult by 1024).
- * 4) A positive decimal number followed by a m (mult by 512).
+ * 4) A positive decimal number followed by a m (mult by 1048576).
* 5) A positive decimal number followed by a w (mult by sizeof int)
* 6) Two or more positive decimal numbers (with/without k,b or w).
* separated by x (also * for backwards compatibility), specifying