diff options
author | Martin Young <martin.y@somniumtech.com> | 2017-05-26 13:35:13 +0300 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-05-26 13:35:13 +0300 |
commit | 780503f6acf9e0795c3b7a686a2815620098f8da (patch) | |
tree | 0b5f064ae5ce5b5804f222097c57c85ffc6922dd /libgloss/msp430 | |
parent | 9b7bbd03132ac8e67cce239558f789630caacb4d (diff) |
Fix thinko in MSP430 libgloss implementation of write() system call.
Diffstat (limited to 'libgloss/msp430')
-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 0c01098f2..3a5a9f810 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; } |