diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-15 23:13:04 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-05-15 23:13:04 +0000 |
commit | ab10f95ce2b319edc27c8bdc2604ea06ce29112a (patch) | |
tree | af3cf4a250a7a9756b0464ad964dddf2c41135d7 /nuttx/lib | |
parent | 8debfb89c5be818e19566125dad5ef88c3b62326 (diff) | |
download | px4-nuttx-ab10f95ce2b319edc27c8bdc2604ea06ce29112a.tar.gz px4-nuttx-ab10f95ce2b319edc27c8bdc2604ea06ce29112a.tar.bz2 px4-nuttx-ab10f95ce2b319edc27c8bdc2604ea06ce29112a.zip |
Prep for 6.3 releasenuttx-6.3
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3615 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/stdio/lib_fputs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/lib/stdio/lib_fputs.c b/nuttx/lib/stdio/lib_fputs.c index 57efba5dc..39d52493d 100644 --- a/nuttx/lib/stdio/lib_fputs.c +++ b/nuttx/lib/stdio/lib_fputs.c @@ -138,7 +138,6 @@ int fputs(FAR const char *s, FAR FILE *stream) { int ntowrite; int nput; - int ret; /* Make sure that a string was provided. */ @@ -163,7 +162,7 @@ int fputs(FAR const char *s, FAR FILE *stream) nput = lib_fwrite(s, ntowrite, stream); if (nput < 0) { - return EOF + return EOF; } return nput; } |