1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

sys_write has to return the number of written bytes

=> fix bug
This commit is contained in:
Stefan Lankes 2015-09-12 16:55:56 +02:00
parent 9063ced999
commit f1bf053c23

View file

@ -65,7 +65,7 @@ static int sys_write(int fd, const char* buf, size_t len)
for(i=0; i<len; i++)
kputchar(buf[i]);
return 0;
return len;
}
static ssize_t sys_sbrk(int incr)