a bit of polish on makedevs
authorEric Andersen <andersen@codepoet.org>
Mon, 18 Jul 2005 09:42:37 +0000 (09:42 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 18 Jul 2005 09:42:37 +0000 (09:42 -0000)
include/usage.h
miscutils/makedevs.c

index 831a9a74acbf8aee977a6e3f72c1cc58f6236bd7..ff99c4041dd51f87db1819c74443feb9c7e9daf2 100644 (file)
        "      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" \
        "/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
index eb3e3680d7fa6d81fb151f082e69d2731c7ac1c9..ffcbe7ac362dd2d7b12d460148d4b33c8316d1cd 100644 (file)
@@ -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() */