diff --git a/sbin/comcontrol/comcontrol.c b/sbin/comcontrol/comcontrol.c index cb65f18990a..17c288274f1 100644 --- a/sbin/comcontrol/comcontrol.c +++ b/sbin/comcontrol/comcontrol.c @@ -48,7 +48,8 @@ int main(int argc, char *argv[]) int res = 0; int dtrwait = -1, drainwait = -1; - if ((argc < 2) || (argc > 5)) usage(argv[0]); + if (argc < 2) + usage(argv[0]); fd = open(argv[1], O_RDONLY|O_NONBLOCK, 0); if (fd < 0) { diff --git a/sbin/i386/comcontrol/comcontrol.c b/sbin/i386/comcontrol/comcontrol.c index cb65f18990a..17c288274f1 100644 --- a/sbin/i386/comcontrol/comcontrol.c +++ b/sbin/i386/comcontrol/comcontrol.c @@ -48,7 +48,8 @@ int main(int argc, char *argv[]) int res = 0; int dtrwait = -1, drainwait = -1; - if ((argc < 2) || (argc > 5)) usage(argv[0]); + if (argc < 2) + usage(argv[0]); fd = open(argv[1], O_RDONLY|O_NONBLOCK, 0); if (fd < 0) {