Skip to content

Commit 0f5d321

Browse files
committed
Chore: updates comments to use English descriptions
1 parent 4e84094 commit 0f5d321

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/physicalmemory/physicalmemory_linux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const char* ffDetectPhysicalMemory(FFlist* result)
124124
ffStrbufSetS(&device->locator, ldevice);
125125

126126
const char* formFactorNames[] = {
127-
NULL, // 0x00 (用于索引,实际上没有0x00的类型)
127+
NULL, // 0x00 (Placeholder for indexing)
128128
"Other", // 0x01
129129
"Unknown", // 0x02
130130
"SIMM", // 0x03
@@ -148,7 +148,7 @@ const char* ffDetectPhysicalMemory(FFlist* result)
148148
ffStrbufSetF(&device->formFactor, "Unknown (%d)", (int) data->FormFactor);
149149

150150
const char* memoryTypeNames[] = {
151-
NULL, // 0x00 (用于索引,实际上没有0x00的类型)
151+
NULL, // 0x00 (Placeholder for indexing)
152152
"Other", // 0x01
153153
"Unknown", // 0x02
154154
"DRAM", // 0x03

0 commit comments

Comments
 (0)