diff options
author | Piotr Jastrzebski <haaawk@google.com> | 2014-10-17 12:40:38 +0100 |
---|---|---|
committer | Piotr Jastrzebski <haaawk@google.com> | 2014-10-17 12:42:41 +0100 |
commit | 2eebc9956095f3fb510692acda478f39a364fb74 (patch) | |
tree | 6bb56e0305e0be1fced1720446bdbc9f2bc195af /dalvikvm | |
parent | e974c704991378162e68a67f5e63607984e38567 (diff) | |
download | art-2eebc9956095f3fb510692acda478f39a364fb74.zip art-2eebc9956095f3fb510692acda478f39a364fb74.tar.gz art-2eebc9956095f3fb510692acda478f39a364fb74.tar.bz2 |
Fix error message to match the code.
The code checks that curr_opt > option_count
but error message says that curr_opt >= option_count.
Change-Id: I19cd077e2383ad9a368e324a1e35cc98170a40a4
Diffstat (limited to 'dalvikvm')
-rw-r--r-- | dalvikvm/dalvikvm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dalvikvm/dalvikvm.cc b/dalvikvm/dalvikvm.cc index 67794c8..7839aa8 100644 --- a/dalvikvm/dalvikvm.cc +++ b/dalvikvm/dalvikvm.cc @@ -152,7 +152,7 @@ static int dalvikvm(int argc, char** argv) { } if (curr_opt > option_count) { - fprintf(stderr, "curr_opt(%d) >= option_count(%d)\n", curr_opt, option_count); + fprintf(stderr, "curr_opt(%d) > option_count(%d)\n", curr_opt, option_count); abort(); return EXIT_FAILURE; } |