diff options
author | Eric Andersen | 1999-10-19 20:03:34 +0000 |
---|---|---|
committer | Eric Andersen | 1999-10-19 20:03:34 +0000 |
commit | e77ae3a2c0328590b43447550bdb1284650b8236 (patch) | |
tree | 1e46d5cf36870771a4f3cedfe84f6161c3871131 /miscutils/makedevs.c | |
parent | a3f09076ef5e9a2c26b4d0728cd066bba6c474e4 (diff) | |
download | busybox-e77ae3a2c0328590b43447550bdb1284650b8236.zip busybox-e77ae3a2c0328590b43447550bdb1284650b8236.tar.gz |
Added sfdisk. Ststic-ified a bunch of stuff.
Diffstat (limited to 'miscutils/makedevs.c')
-rw-r--r-- | miscutils/makedevs.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c index 00f0066..f7fbeb2 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -15,7 +15,7 @@ #include <sys/types.h> #include <sys/stat.h> -const char makedevs_usage[] = +static const char makedevs_usage[] = "makedevs 0.01 -- Create an entire range of device files\n\n" "\tmakedevs /dev/ttyS c 4 64 0 63 (ttyS0-ttyS63)\n" "\tmakedevs /dev/hda b 3 0 0 8 s (hda,hda1-hda8)\n"; @@ -45,8 +45,7 @@ char buf[255]; case 'f': mode = S_IFIFO; break; default: - fprintf(stderr, "Usage: %s\n", makedevs_usage); - return 2; + usage( makedevs_usage); } mode |= 0660; |