summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-12 06:32:13 +0000
committerJim Meyering <jim@meyering.net>2001-10-12 06:32:13 +0000
commit1afc458839df6fc694b306965a8af73c7bf04a44 (patch)
tree748fcd5eb193cdfd059ef7c67fd1bdeeecc56381 /src
parent629576ece4287b359191bd9e13097a30d8565504 (diff)
downloadcoreutils-1afc458839df6fc694b306965a8af73c7bf04a44.tar.xz
(main): Tell what's wrong with `mknod c zero 1 5' rather
than saying just `Try `./mknod --help' for more information.'.
Diffstat (limited to 'src')
-rw-r--r--src/mknod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mknod.c b/src/mknod.c
index 6f73b0e56..2f37052bd 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -212,6 +212,7 @@ major and minor device numbers may not be specified for fifo files"));
break;
default:
+ error (0, 0, "invalid device type %s", quote (argv[optind + 1]));
usage (1);
}