uname() fix (James Pellow)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 6 Dec 2004 22:40:57 +0000 (22:40 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 6 Dec 2004 22:40:57 +0000 (22:40 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1163 c046a42c-6fe2-441c-8c8c-71466251a162

linux-user/syscall.c

index 9f1b329..b2965bb 100644 (file)
@@ -2403,7 +2403,6 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
                 strcpy (buf->machine, UNAME_MACHINE);
             }
         }
-        ret = get_errno(sys_uname((struct new_utsname *)arg1));
         break;
 #ifdef TARGET_I386
     case TARGET_NR_modify_ldt: