diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-31 15:41:07 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-31 15:41:07 +0000 |
commit | 1df049bbc38ada0a235e3f93e7e709e5400971e1 (patch) | |
tree | ffc0d9f4c58f5424a1debcd729933ce76f6c93f3 /nuttx/lib/stdio/lib_libfflush.c | |
parent | 5d7909fa42f0cd0801ebc51edc3e56ef9b346db4 (diff) | |
download | px4-firmware-1df049bbc38ada0a235e3f93e7e709e5400971e1.tar.gz px4-firmware-1df049bbc38ada0a235e3f93e7e709e5400971e1.tar.bz2 px4-firmware-1df049bbc38ada0a235e3f93e7e709e5400971e1.zip |
Various fixes for the telnet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4351 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/lib/stdio/lib_libfflush.c')
-rw-r--r-- | nuttx/lib/stdio/lib_libfflush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/lib/stdio/lib_libfflush.c b/nuttx/lib/stdio/lib_libfflush.c index ddfc6c8ff..5da9c763d 100644 --- a/nuttx/lib/stdio/lib_libfflush.c +++ b/nuttx/lib/stdio/lib_libfflush.c @@ -1,7 +1,7 @@ /**************************************************************************** * lib/stdio/lib_libfflush.c * - * Copyright (C) 2007, 2008, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2008, 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -108,7 +108,7 @@ ssize_t lib_fflush(FAR FILE *stream, bool bforce) #if CONFIG_STDIO_BUFFER_SIZE > 0 FAR const unsigned char *src; ssize_t bytes_written; - size_t nbuffer; + ssize_t nbuffer; /* Return EBADF if the file is not opened for writing */ |