aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib/stdio/lib_perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/stdio/lib_perror.c')
-rw-r--r--nuttx/lib/stdio/lib_perror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/stdio/lib_perror.c b/nuttx/lib/stdio/lib_perror.c
index e065e14b8..3be2dd9db 100644
--- a/nuttx/lib/stdio/lib_perror.c
+++ b/nuttx/lib/stdio/lib_perror.c
@@ -83,7 +83,7 @@
* Private Data
****************************************************************************/
-#ifndef CONFIG_LIBC_PERROR_DEVNAME
+#ifdef CONFIG_LIBC_PERROR_DEVNAME
static FILE *perror_stream;
#endif