]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(main): Tell what's wrong with `mknod c zero 1 5' rather
authorJim Meyering <jim@meyering.net>
Fri, 12 Oct 2001 06:32:13 +0000 (06:32 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 12 Oct 2001 06:32:13 +0000 (06:32 +0000)
than saying just `Try `./mknod --help' for more information.'.

src/mknod.c

index 6f73b0e5674be0ebd14c1e00fd5af9689261bf0c..2f37052bda40cd3244687b032aa9477e93f05c9a 100644 (file)
@@ -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);
     }