Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-11 02:13:02 +0300
committerEric Andersen <andersen@codepoet.org>1999-11-11 02:13:02 +0300
commitd73dc5b07390fb90e7f605871c993a28eedf1d46 (patch)
tree3e448e6550da52d2709e5f52fbae56e9df9462cc /coreutils/dd.c
parent84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff)
Updates to usage, and made tar work.
-Erik
Diffstat (limited to 'coreutils/dd.c')
-rw-r--r--coreutils/dd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c
index 33c45940e..800ed59f8 100644
--- a/coreutils/dd.c
+++ b/coreutils/dd.c
@@ -34,7 +34,7 @@
#include <errno.h>
static const char dd_usage[] =
-"dd [if=name] [of=name] [bs=n] [count=n]\n"
+"dd [if=name] [of=name] [bs=n] [count=n]\n\n"
"Copy a file, converting and formatting according to options\n\n"
"\tif=FILE\tread from FILE instead of stdin\n"
"\tof=FILE\twrite to FILE instead of stout\n"
@@ -227,8 +227,7 @@ extern int dd_main (int argc, char **argv)
exit( TRUE);
usage:
- fprintf (stderr, "%s", dd_usage);
- exit( FALSE);
+ usage( dd_usage);
}