diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-31 15:41:07 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-01-31 15:41:07 +0000 |
commit | d2dfd9fdd6cb1c57375468919c1b37e91b3a8f3e (patch) | |
tree | ffc0d9f4c58f5424a1debcd729933ce76f6c93f3 /nuttx/lib/stdio/lib_libfflush.c | |
parent | 683c7dbd29a864ee20c792918fd32eedf9b53f69 (diff) | |
download | px4-nuttx-d2dfd9fdd6cb1c57375468919c1b37e91b3a8f3e.tar.gz px4-nuttx-d2dfd9fdd6cb1c57375468919c1b37e91b3a8f3e.tar.bz2 px4-nuttx-d2dfd9fdd6cb1c57375468919c1b37e91b3a8f3e.zip |
Various fixes for the telnet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4351 42af7a65-404d-4744-a932-0658087f49c3
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 */ |