mescc: Mes C Library: Prepare for M2-Planet: read.
* lib/linux/read.c (read): Prepare for M2-Planet.
This commit is contained in:
parent
eb28518a35
commit
8aedfd8f5f
|
@ -26,7 +26,8 @@
|
||||||
ssize_t
|
ssize_t
|
||||||
read (int filedes, void *buffer, size_t size)
|
read (int filedes, void *buffer, size_t size)
|
||||||
{
|
{
|
||||||
ssize_t bytes = _sys_call3 (SYS_read, filedes, buffer, size);
|
long long_filedes = filedes;
|
||||||
|
ssize_t bytes = _sys_call3 (SYS_read, long_filedes, buffer, size);
|
||||||
if (__mes_debug () > 4)
|
if (__mes_debug () > 4)
|
||||||
{
|
{
|
||||||
if (bytes == 1)
|
if (bytes == 1)
|
||||||
|
|
Loading…
Reference in a new issue