[BusyBox-cvs] svn commit: trunk/busybox: include miscutils
andersen at busybox.net
andersen at busybox.net
Mon Jul 18 09:42:38 UTC 2005
Author: andersen
Date: 2005-07-18 03:42:37 -0600 (Mon, 18 Jul 2005)
New Revision: 10847
Log:
a bit of polish on makedevs
Modified:
trunk/busybox/include/usage.h
trunk/busybox/miscutils/makedevs.c
Changeset:
Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h 2005-07-18 09:36:49 UTC (rev 10846)
+++ trunk/busybox/include/usage.h 2005-07-18 09:42:37 UTC (rev 10847)
@@ -1686,7 +1686,7 @@
" p Fifo (named pipe)\n" \
"uid is the user id for the target file, gid is the group id for the\n" \
"target file. The rest of the entries (major, minor, etc) apply to\n" \
- "to device special files. A '-' may be used for blank entries.\n\n" \
+ "to device special files. A '-' may be used for blank entries."
#define makedevs_example_usage \
"For example:\n" \
"<name> <type> <mode><uid><gid><major><minor><start><inc><count>\n" \
@@ -1702,7 +1702,7 @@
"/dev/null\n" \
"/dev/zero\n" \
"/dev/hda\n" \
- "/dev/hda[0-15]"
+ "/dev/hda[0-15]\n"
#endif
#ifdef CONFIG_FEATURE_MD5_SHA1_SUM_CHECK
Modified: trunk/busybox/miscutils/makedevs.c
===================================================================
--- trunk/busybox/miscutils/makedevs.c 2005-07-18 09:36:49 UTC (rev 10846)
+++ trunk/busybox/miscutils/makedevs.c 2005-07-18 09:42:37 UTC (rev 10847)
@@ -6,6 +6,7 @@
#include <fcntl.h>
#include <getopt.h>
#include <time.h>
+#include <ctype.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/sysmacros.h> /* major() and minor() */
More information about the busybox-cvs
mailing list