From: Eric Andersen Date: Mon, 18 Jul 2005 09:42:37 +0000 (-0000) Subject: a bit of polish on makedevs X-Git-Tag: 1_1_0~914 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=54e57da96a073330463dde1f62fda85b7290ed4c;p=oweals%2Fbusybox.git a bit of polish on makedevs --- 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 @@ " 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" \ " \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 eb3e3680d..ffcbe7ac3 100644 --- a/miscutils/makedevs.c +++ b/miscutils/makedevs.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include /* major() and minor() */