From fd5f393ababcf13db74dfd26e53650abe34dedd7 Mon Sep 17 00:00:00 2001 From: pbrook Date: Wed, 26 Mar 2008 20:55:43 +0000 Subject: Remove fixed length commandline buffers. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4111 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user/main.c') diff --git a/linux-user/main.c b/linux-user/main.c index 234a6dc6fc..2ce47a4fb4 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') -- cgit v1.2.3