libs/libc/stdio/lib_getdelim.c: Correct the character slash

This commit is contained in:
chao.an 2020-02-16 22:04:17 +08:00 committed by Gregory Nutt
parent 52484b1b8c
commit b438d529f1

View File

@ -55,10 +55,10 @@
#undef HAVE_GETLINE
#if defined(CONFIG_EOL_IS_CR)
# define HAVE_GETLINE 1
# define EOLCH '/r'
# define EOLCH '\r'
#elif defined(CONFIG_EOL_IS_LF)
# define HAVE_GETLINE 1
# define EOLCH '/n'
# define EOLCH '\n'
#endif
#define BUFSIZE_INIT 64