Add missing break just before execve, by Takashi Yoshii.

Fix a comment typo.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3810 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
balrog 2007-12-11 23:23:52 +00:00
parent 0486e8a714
commit ed494d87f7
2 changed files with 2 additions and 1 deletions

View File

@ -3178,6 +3178,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
ret = get_errno(sys_unlinkat(arg1, p, arg3));
unlock_user(p, arg2, 0);
#endif
break;
case TARGET_NR_execve:
{
char **argp, **envp;

2
vl.c
View File

@ -8721,7 +8721,7 @@ int main(int argc, char **argv)
}
#ifdef TARGET_I386
/* XXX: this should be moved in the PC machine instanciation code */
/* XXX: this should be moved in the PC machine instantiation code */
if (net_boot != 0) {
int netroms = 0;
for (i = 0; i < nb_nics && i < 4; i++) {