Commit 44de1b33694ae45431743000fdd8f719a0b6e1cf
1 parent
fd5f393a
Revert accidental commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4112 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
2 deletions
linux-user/main.c
... | ... | @@ -1945,7 +1945,7 @@ int main(int argc, char **argv) |
1945 | 1945 | char **target_environ, **wrk, **dst; |
1946 | 1946 | |
1947 | 1947 | if (argc <= 1) |
1948 | - usage(1); | |
1948 | + usage(); | |
1949 | 1949 | |
1950 | 1950 | /* init debug */ |
1951 | 1951 | cpu_set_log_filename(DEBUG_LOGFILE); |
... | ... | @@ -1983,7 +1983,7 @@ int main(int argc, char **argv) |
1983 | 1983 | r = argv[optind++]; |
1984 | 1984 | x86_stack_size = strtol(r, (char **)&r, 0); |
1985 | 1985 | if (x86_stack_size <= 0) |
1986 | - usage(1); | |
1986 | + usage(); | |
1987 | 1987 | if (*r == 'M') |
1988 | 1988 | x86_stack_size *= 1024 * 1024; |
1989 | 1989 | else if (*r == 'k' || *r == 'K') | ... | ... |