aboutsummaryrefslogtreecommitdiff
path: root/nuttx/libc
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-19 19:53:53 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-19 19:53:53 +0000
commit7a68d939992a06512b617200662807de441766d6 (patch)
treeee84dbfad28badbe8352b2a877801395b89d38be /nuttx/libc
parenta98248b591a69249c97849745788737d25dc3731 (diff)
downloadpx4-firmware-7a68d939992a06512b617200662807de441766d6.tar.gz
px4-firmware-7a68d939992a06512b617200662807de441766d6.tar.bz2
px4-firmware-7a68d939992a06512b617200662807de441766d6.zip
Fix typo introduced into many Makefiles with last changes
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5370 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/libc')
-rw-r--r--nuttx/libc/stdio/lib_fgets.c2
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
{