diff options
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 234a6dc6f..2ce47a4fb 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -1945,7 +1945,7 @@ int main(int argc, char **argv) char **target_environ, **wrk, **dst; if (argc <= 1) - usage(); + usage(1); /* init debug */ cpu_set_log_filename(DEBUG_LOGFILE); @@ -1983,7 +1983,7 @@ int main(int argc, char **argv) r = argv[optind++]; x86_stack_size = strtol(r, (char **)&r, 0); if (x86_stack_size <= 0) - usage(); + usage(1); if (*r == 'M') x86_stack_size *= 1024 * 1024; else if (*r == 'k' || *r == 'K') |