mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
[v0.89][ARM] Separate udev for ARM in a different file, since there are many functions that are ARM only. Refactoring of file reading code
This commit is contained in:
@@ -157,7 +157,7 @@ char* get_str_freq(struct frequency* freq) {
|
||||
else if(freq->max >= 1000)
|
||||
snprintf(string,size,"%.2f"STRING_GIGAHERZ,(float)(freq->max)/1000);
|
||||
else
|
||||
snprintf(string,size,"%lld"STRING_MEGAHERZ,freq->max);
|
||||
snprintf(string,size,"%ld"STRING_MEGAHERZ,freq->max);
|
||||
|
||||
return string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user