summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 831a9a7..ff99c40 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -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
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index eb3e368..ffcbe7a 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -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() */