diff options
author | Martin Young <martin.y@somniumtech.com> | 2017-05-26 11:35:13 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-05-26 11:35:13 +0100 |
commit | 780503f6acf9e0795c3b7a686a2815620098f8da (patch) | |
tree | 0b5f064ae5ce5b5804f222097c57c85ffc6922dd /libgloss | |
parent | 9b7bbd03132ac8e67cce239558f789630caacb4d (diff) | |
download | newlib-780503f6acf9e0795c3b7a686a2815620098f8da.zip newlib-780503f6acf9e0795c3b7a686a2815620098f8da.tar.gz newlib-780503f6acf9e0795c3b7a686a2815620098f8da.tar.bz2 |
Fix thinko in MSP430 libgloss implementation of write() system call.
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/msp430/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgloss/msp430/write.c b/libgloss/msp430/write.c index 0c01098..3a5a9f8 100644 --- a/libgloss/msp430/write.c +++ b/libgloss/msp430/write.c @@ -55,5 +55,5 @@ write (int fd, char *buf, int len) len -= l; buf += l; } - return c; + return rv; } |