mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 22:14:36 +00:00
Add missing fflush(stdout) for --ndevs
This commit is contained in:
parent
353789da0b
commit
2e31e1687c
1
main.c
1
main.c
@ -693,6 +693,7 @@ static char *load_config(const char *arg, void *unused)
|
|||||||
static char *print_ndevs_and_exit(int *ndevs)
|
static char *print_ndevs_and_exit(int *ndevs)
|
||||||
{
|
{
|
||||||
printf("%i GPU devices detected\n", *ndevs);
|
printf("%i GPU devices detected\n", *ndevs);
|
||||||
|
fflush(stdout);
|
||||||
exit(*ndevs);
|
exit(*ndevs);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user