This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make
usage messages occupy less space and simplify how usage messages
are displayed.
diff --git a/miscutils/makedevs.c b/miscutils/makedevs.c
index f979871..eed3968 100644
--- a/miscutils/makedevs.c
+++ b/miscutils/makedevs.c
@@ -32,7 +32,7 @@
char buf[255];
if (argc < 7 || *argv[1]=='-')
- usage(makedevs_usage);
+ show_usage();
switch (type[0]) {
case 'c':
@@ -45,7 +45,7 @@
mode = S_IFIFO;
break;
default:
- usage(makedevs_usage);
+ show_usage();
}
mode |= 0660;