summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-06 22:40:57 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2004-12-06 22:40:57 +0000
commitf7806f9467e059c128f7442b35ed366f2ccf06ce (patch)
tree2cdfb73da010c06e00443c087c1355bc6dbbccb6 /linux-user
parent45aea85cef98ba64b7888f1323520b3e18b07230 (diff)
downloadqemu-f7806f9467e059c128f7442b35ed366f2ccf06ce.tar.gz
uname() fix (James Pellow)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1163 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9f1b329222..b2965bbbd9 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -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: