public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Fix thinko in MSP430 libgloss implementation of write() system call.
@ 2017-05-26 10:35 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 2017-05-26 10:35 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=780503f6acf9e0795c3b7a686a2815620098f8da

commit 780503f6acf9e0795c3b7a686a2815620098f8da
Author: Martin Young <martin.y@somniumtech.com>
Date:   Fri May 26 11:35:13 2017 +0100

    Fix thinko in MSP430 libgloss implementation of write() system call.

Diff:
---
 libgloss/msp430/write.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-26 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 10:35 [newlib-cygwin] Fix thinko in MSP430 libgloss implementation of write() system call Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).