summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/getcwd.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-02 23:51:31 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-02 23:51:31 +0000
commit8143dcecfced1b07f986196964cd813cc15bbddc (patch)
tree24c16a7071a506f0a725f31760324c3db65ef009 /libc/sysdeps/linux/common/getcwd.c
parent9acc3f9fe6e284375fbf4a29881e43dc5b4a50e0 (diff)
Allow partly IMA compile of this directory
Diffstat (limited to 'libc/sysdeps/linux/common/getcwd.c')
-rw-r--r--libc/sysdeps/linux/common/getcwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/getcwd.c b/libc/sysdeps/linux/common/getcwd.c
index a1de4510c..c6a2fc005 100644
--- a/libc/sysdeps/linux/common/getcwd.c
+++ b/libc/sysdeps/linux/common/getcwd.c
@@ -153,7 +153,7 @@ int __syscall_getcwd(char * buf, unsigned long size)
#endif
-char *getcwd(char *buf, int size)
+char *getcwd(char *buf, size_t size)
{
int ret;
char *path;