diff options
| author | bernard <[email protected]> | 2015-01-19 13:21:09 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2015-01-19 13:21:09 +0800 |
| commit | 8e439999e8ccaf93df7361f6e3c0ec8c7363bdd7 (patch) | |
| tree | 1c55d8d30940dfe518fe651bbe6aa33a7de64b7d /components/libc/armlibc | |
| parent | 7e871b0ddd50d39806b983652d19de7e6196b64d (diff) | |
Prepare for RT-Thread 1.2.4 release.v1.2.4
Diffstat (limited to 'components/libc/armlibc')
| -rw-r--r-- | components/libc/armlibc/stubs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/libc/armlibc/stubs.c b/components/libc/armlibc/stubs.c index 1c79ce2861..4ca7cf056f 100644 --- a/components/libc/armlibc/stubs.c +++ b/components/libc/armlibc/stubs.c @@ -168,7 +168,8 @@ int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode) console_device = rt_console_get_device(); if (console_device != 0) rt_device_write(console_device, 0, buf, len); - return len; + + return 0; #endif } |
