Fix a warning when STDIO buffering is disabled
This commit is contained in:
parent
8ff7e5106d
commit
4fa389898a
@ -277,7 +277,7 @@ FAR struct file_struct *fs_fdopen(int fd, int oflags, FAR struct tcb_s *tcb)
|
||||
|
||||
errcode = ENFILE;
|
||||
|
||||
#if CONFIG_STDIO_BUFFER_SIZE > 0
|
||||
#if !defined(CONFIG_STDIO_DISABLE_BUFFERING) && CONFIG_STDIO_BUFFER_SIZE > 0
|
||||
errout_with_sem:
|
||||
#endif
|
||||
sem_post(&slist->sl_sem);
|
||||
|
Loading…
Reference in New Issue
Block a user