Another little fix for last commit

This commit is contained in:
TheDarkBug 2021-07-22 15:31:34 +02:00
parent d0597d5909
commit 3648b00e16

View file

@ -406,7 +406,6 @@ void get_info()
break;
}
}
#ifndef __FREEBSD__
while (fgets(line, sizeof(line), cpuinfo))
#ifdef __FREEBSD__
if (sscanf(line, "hw.model: %[^\n]", cpu_model))
@ -415,7 +414,6 @@ void get_info()
#endif
break;
sprintf(user, "%s", getenv("USER"));
#endif
if (iscygwin == 0)
fclose(os_release);
}