aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-07-18 09:42:37 +0000
committerEric Andersen <andersen@codepoet.org>2005-07-18 09:42:37 +0000
commit54e57da96a073330463dde1f62fda85b7290ed4c (patch)
tree397bc76a7fe980ec756762c257461c67063fad18
parent1b7058c65371ec219a0965f4bd3a6d81ad95c870 (diff)
downloadbusybox-w32-54e57da96a073330463dde1f62fda85b7290ed4c.tar.gz
busybox-w32-54e57da96a073330463dde1f62fda85b7290ed4c.tar.bz2
busybox-w32-54e57da96a073330463dde1f62fda85b7290ed4c.zip
a bit of polish on makedevs
-rw-r--r--include/usage.h4
-rw-r--r--miscutils/makedevs.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h
index 831a9a74a..ff99c4041 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1686,7 +1686,7 @@
1686 " p Fifo (named pipe)\n" \ 1686 " p Fifo (named pipe)\n" \
1687 "uid is the user id for the target file, gid is the group id for the\n" \ 1687 "uid is the user id for the target file, gid is the group id for the\n" \
1688 "target file. The rest of the entries (major, minor, etc) apply to\n" \ 1688 "target file. The rest of the entries (major, minor, etc) apply to\n" \
1689 "to device special files. A '-' may be used for blank entries.\n\n" \ 1689 "to device special files. A '-' may be used for blank entries."
1690#define makedevs_example_usage \ 1690#define makedevs_example_usage \
1691 "For example:\n" \ 1691 "For example:\n" \
1692 "<name> <type> <mode><uid><gid><major><minor><start><inc><count>\n" \ 1692 "<name> <type> <mode><uid><gid><major><minor><start><inc><count>\n" \
@@ -1702,7 +1702,7 @@
1702 "/dev/null\n" \ 1702 "/dev/null\n" \
1703 "/dev/zero\n" \ 1703 "/dev/zero\n" \
1704 "/dev/hda\n" \ 1704 "/dev/hda\n" \
1705 "/dev/hda[0-15]" 1705 "/dev/hda[0-15]\n"
1706#endif 1706#endif
1707 1707
1708#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK 1708#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index eb3e3680d..ffcbe7ac3 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -6,6 +6,7 @@
6#include <fcntl.h> 6#include <fcntl.h>
7#include <getopt.h> 7#include <getopt.h>
8#include <time.h> 8#include <time.h>
9#include <ctype.h>
9#include <unistd.h> 10#include <unistd.h>
10#include <sys/types.h> 11#include <sys/types.h>
11#include <sys/sysmacros.h> /* major() and minor() */ 12#include <sys/sysmacros.h> /* major() and minor() */