diff --git a/common/console.c b/common/console.c
index 867c12c10231cdfc74a35e69e4718d6b4485ff50..dc0d13b5a520837cbb4e7a9c5260de1b51b27747 100644
--- a/common/console.c
+++ b/common/console.c
@@ -534,7 +534,7 @@ int console_init_f(void)
 
 void stdio_print_current_devices(void)
 {
-#ifdef CONFIG_SYS_CONSOLE_INFO_QUIET
+#ifndef CONFIG_SYS_CONSOLE_INFO_QUIET
 	/* Print information */
 	puts("In:    ");
 	if (stdio_devices[stdin] == NULL) {