summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--linux-user/syscall.c1
-rw-r--r--vl.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0deb041eda..1062fdf03e 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -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;
diff --git a/vl.c b/vl.c
index 9cb81ce47c..e88b2a4c3b 100644
--- a/vl.c
+++ b/vl.c
@@ -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++) {