1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 15:27:53 +00:00

Add missing fflush(stdout) for --ndevs

This commit is contained in:
Znort 987 2011-08-11 14:34:43 +02:00 committed by Con Kolivas
parent 353789da0b
commit 2e31e1687c

1
main.c
View File

@ -693,6 +693,7 @@ static char *load_config(const char *arg, void *unused)
static char *print_ndevs_and_exit(int *ndevs)
{
printf("%i GPU devices detected\n", *ndevs);
fflush(stdout);
exit(*ndevs);
}
#endif