diff --git a/src/filemanager/filemanager.c b/src/filemanager/filemanager.c index d0088d17b..f8d1ca57e 100644 --- a/src/filemanager/filemanager.c +++ b/src/filemanager/filemanager.c @@ -854,7 +854,8 @@ setup_mc (void) #endif /* HAVE_CHARSET */ #endif /* HAVE_SLANG */ - if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal) + const int baudrate = tty_baudrate (); + if ((baudrate > 0 && baudrate < 9600) || mc_global.tty.slow_terminal) verbose = FALSE; }