Some updates for better portability.

-Erik
This commit is contained in:
Erik Andersen
2000-05-16 20:07:38 +00:00
parent 969f9b0486
commit 499f65fb98
7 changed files with 48 additions and 52 deletions

View File

@@ -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);
}