summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}