diff options
Diffstat (limited to 'nuttx/libc/stdio/lib_fgets.c')
-rw-r--r-- | nuttx/libc/stdio/lib_fgets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/libc/stdio/lib_fgets.c b/nuttx/libc/stdio/lib_fgets.c index c2c98a38b..35d024ebb 100644 --- a/nuttx/libc/stdio/lib_fgets.c +++ b/nuttx/libc/stdio/lib_fgets.c @@ -150,7 +150,7 @@ char *fgets(FAR char *buf, int buflen, FILE *stream) if (ch == '\n') #elif defined(CONFIG_EOL_IS_CR) if (ch == '\r') -#elif CONFIG_EOL_IS_EITHER_CRLF +#else /* elif CONFIG_EOL_IS_EITHER_CRLF */ if (ch == '\n' || ch == '\r') #endif { |