Browse Source

Add missing fflush(stdout) for --ndevs

nfactor-troky
Znort 987 13 years ago committed by Con Kolivas
parent
commit
2e31e1687c
  1. 1
      main.c

1
main.c

@ -693,6 +693,7 @@ static char *load_config(const char *arg, void *unused) @@ -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

Loading…
Cancel
Save