mescc: Mes C Library: Prepare for M2-Planet: _getcwd.

* lib/linux/_getcwd.c (_getcwd): Prepare for M2-Planet.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2020-07-25 19:52:33 +02:00
parent 178b063ffa
commit 442cef4c12
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -25,7 +25,7 @@
char * char *
_getcwd (char *buffer, size_t size) _getcwd (char *buffer, size_t size)
{ {
int r = _sys_call2 (SYS_getcwd, (long) buffer, (long) size); int r = _sys_call2 (SYS_getcwd, buffer, size);
if (r >= 0) if (r >= 0)
return buffer; return buffer;
return 0; return 0;