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; }