projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38d8872
)
Revert "Fix getcwd syscall return value"
author
Riku Voipio
<riku.voipio@nokia.com>
Mon, 20 Apr 2009 14:08:20 +0000
(17:08 +0300)
committer
Riku Voipio
<riku.voipio@nokia.com>
Mon, 20 Apr 2009 14:08:20 +0000
(17:08 +0300)
This reverts commit
20f37bde068184789fdfe81664dbff815652e636
.
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index
5647b6e
..
209fa7c
100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-318,7
+318,7
@@
sys_getcwd1(char *buf, size_t size)
/* getcwd() sets errno */
return (-1);
}
- return strlen(buf)+1;
+ return (0);
}
#ifdef CONFIG_ATFILE