1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-30 03:48:17 +00:00

Last remnant of stderror

This commit is contained in:
Rosen Penev 2016-12-16 17:30:03 -08:00
parent fa598a463f
commit cf4045cc6e

View File

@ -83,21 +83,21 @@ int setup_console ()
if (_setmode (_fileno (stdin), _O_BINARY) == -1)
{
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
__mingw_fprintf (stderr, "%s: %m", "stdin");
return -1;
}
if (_setmode (_fileno (stdout), _O_BINARY) == -1)
{
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
__mingw_fprintf (stderr, "%s: %m", "stdin");
return -1;
}
if (_setmode (_fileno (stderr), _O_BINARY) == -1)
{
fprintf (stderr, "%s: %s", "stdin", strerror (errno));
__mingw_fprintf (stderr, "%s: %m", "stdin");
return -1;
}