mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
setvbuf: Correct some errors detected by code review.
This commit is contained in:
@@ -249,7 +249,6 @@ FAR struct file_struct *fs_fdopen(int fd, int oflags, FAR struct tcb_s *tcb)
|
||||
|
||||
stream->fs_bufend = &stream->fs_bufstart[CONFIG_STDIO_BUFFER_SIZE];
|
||||
stream->fs_bufpos = stream->fs_bufstart;
|
||||
stream->fs_bufpos = stream->fs_bufstart;
|
||||
stream->fs_bufread = stream->fs_bufstart;
|
||||
|
||||
/* Setup buffer flags */
|
||||
|
||||
Reference in New Issue
Block a user