diff --git a/Common/GmshMessage.cpp b/Common/GmshMessage.cpp index 333f22e3a72b76789b5e9c950ed175bdeb393acf..8b496f961014d4b05dc2fbd8c4b65284b5fc8aa7 100644 --- a/Common/GmshMessage.cpp +++ b/Common/GmshMessage.cpp @@ -158,7 +158,7 @@ void Msg::Exit(int level) static int streamIsFile(FILE* stream) { - // the given stream is definately not interactive if it is a regular file + // the given stream is definitely not interactive if it is a regular file struct stat stream_stat; if(fstat(fileno(stream), &stream_stat) == 0){ if(stream_stat.st_mode & S_IFREG) return 1;