diff options
Diffstat (limited to 'nuttx/libc/stdio/lib_libfwrite.c')
-rw-r--r-- | nuttx/libc/stdio/lib_libfwrite.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nuttx/libc/stdio/lib_libfwrite.c b/nuttx/libc/stdio/lib_libfwrite.c index b917b3b56..e7443f996 100644 --- a/nuttx/libc/stdio/lib_libfwrite.c +++ b/nuttx/libc/stdio/lib_libfwrite.c @@ -1,7 +1,7 @@ /**************************************************************************** * libc/stdio/lib_libfwrite.c * - * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011, 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without @@ -173,7 +173,6 @@ errout: } #else { - return write(stream->fs_filedes, ptr, count); + return write(stream->fs_fd, ptr, count); } #endif /* CONFIG_STDIO_BUFFER_SIZE */ - |