projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac768ae
)
wrap path for access syscall
author
Ulrich Hecht
<uli@suse.de>
Fri, 3 Jul 2009 15:09:29 +0000
(17:09 +0200)
committer
Riku Voipio
<riku.voipio@iki.fi>
Wed, 8 Jul 2009 14:02:28 +0000
(17:02 +0300)
Signed-off-by: Ulrich Hecht <uli@suse.de>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 40ccb10accaafd2e1d810eff4a2c76a7586085ec..df3016f9afc18c7cf43b54310d86f6312e86dd86 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-4555,7
+4555,7
@@
abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
case TARGET_NR_access:
if (!(p = lock_user_string(arg1)))
goto efault;
- ret = get_errno(access(p, arg2));
+ ret = get_errno(access(p
ath(p)
, arg2));
unlock_user(p, arg1, 0);
break;
#if defined(TARGET_NR_faccessat) && defined(__NR_faccessat)