From 499f65fb98a8258f8704b52efb3a99da0c82f785 Mon Sep 17 00:00:00 2001 From: Erik Andersen Date: Tue, 16 May 2000 20:07:38 +0000 Subject: Some updates for better portability. -Erik --- miscutils/mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils/mt.c') diff --git a/miscutils/mt.c b/miscutils/mt.c index 28922f8d9..44f23884c 100644 --- a/miscutils/mt.c +++ b/miscutils/mt.c @@ -61,7 +61,7 @@ extern int mt_main(int argc, char **argv) struct mtop op; int fd; - if ((argc != 2 && argc != 3) || **(argv + 1) == '-') { + if ((argc != 2 && argc != 3) && **(argv + 1) != '-') { usage(mt_usage); } -- cgit v1.2.3