summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/m5/m5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/m5/m5.c b/util/m5/m5.c
index 53ac0fba8..e9fe8f1f3 100644
--- a/util/m5/m5.c
+++ b/util/m5/m5.c
@@ -130,7 +130,7 @@ do_exit(int argc, char *argv[])
usage();
uint64_t ints[1];
- parse_int_args(argc, argv, ints, 2);
+ parse_int_args(argc, argv, ints, 1);
m5_exit(ints[0]);
}