aboutsummaryrefslogtreecommitdiff
path: root/miscutils/mt.c
diff options
context:
space:
mode:
authorGravatar Erik Andersen <andersen@codepoet.org>2000-05-16 20:07:38 +0000
committerGravatar Erik Andersen <andersen@codepoet.org>2000-05-16 20:07:38 +0000
commit499f65fb98a8258f8704b52efb3a99da0c82f785 (patch)
tree8bb86bf2d07ab298eff29daea039449e87d90166 /miscutils/mt.c
parent969f9b0486792829378ff7397ee53c1475b22cdc (diff)
downloadbusybox-499f65fb98a8258f8704b52efb3a99da0c82f785.tar.gz
busybox-499f65fb98a8258f8704b52efb3a99da0c82f785.tar.bz2
Some updates for better portability.
-Erik
Diffstat (limited to 'miscutils/mt.c')
-rw-r--r--miscutils/mt.c2
1 files changed, 1 insertions, 1 deletions
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);
}