Apply a bandaid suggested by Jon McClintock <jonm@bluemug.com>, since deallocvt
has code for handling no arguments, but the usage checking code aborted if
there are any other than two arguments.
-Erik
diff --git a/deallocvt.c b/deallocvt.c
index 9c477d2..a5b5a03 100644
--- a/deallocvt.c
+++ b/deallocvt.c
@@ -17,7 +17,7 @@
{
int fd, num, i;
- if ((argc != 2) || (**(argv + 1) == '-'))
+ if ((argc > 2) || ((argv == 2) && (**(argv + 1) == '-')))
usage(deallocvt_usage);
fd = get_console_fd("/dev/console");