Skip to content

Commit f601d2d

Browse files
committed
CPU (Linux): add comments
1 parent 54de7c8 commit f601d2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/cpu/cpu_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ const char* ffDetectCPUImpl(const FFCPUOptions* options, FFCPUResult* cpu)
561561
#if __x86_64__ || __i386__
562562
cpu->packages = getPackageCount(&cpuinfo);
563563
if (cpu->packages > 1)
564-
cpu->coresPhysical *= cpu->packages;
564+
cpu->coresPhysical *= cpu->packages; // https://github.com/hykilpikonna/hyfetch/issues/374#issuecomment-2571578914
565565
#endif
566566

567567
// Ref https://github.com/fastfetch-cli/fastfetch/issues/1194#issuecomment-2295058252

0 commit comments

Comments
 (0)