From 0f5d321df8e6b305b586a66ec84cfcc6f1185505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=80=9A=E6=B4=B2?= Date: Wed, 24 Sep 2025 10:11:02 +0800 Subject: [PATCH] Chore: updates comments to use English descriptions --- src/detection/physicalmemory/physicalmemory_linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detection/physicalmemory/physicalmemory_linux.c b/src/detection/physicalmemory/physicalmemory_linux.c index de9dddad9..8fdea2812 100644 --- a/src/detection/physicalmemory/physicalmemory_linux.c +++ b/src/detection/physicalmemory/physicalmemory_linux.c @@ -124,7 +124,7 @@ const char* ffDetectPhysicalMemory(FFlist* result) ffStrbufSetS(&device->locator, ldevice); const char* formFactorNames[] = { - NULL, // 0x00 (用于索引,实际上没有0x00的类型) + NULL, // 0x00 (Placeholder for indexing) "Other", // 0x01 "Unknown", // 0x02 "SIMM", // 0x03 @@ -148,7 +148,7 @@ const char* ffDetectPhysicalMemory(FFlist* result) ffStrbufSetF(&device->formFactor, "Unknown (%d)", (int) data->FormFactor); const char* memoryTypeNames[] = { - NULL, // 0x00 (用于索引,实际上没有0x00的类型) + NULL, // 0x00 (Placeholder for indexing) "Other", // 0x01 "Unknown", // 0x02 "DRAM", // 0x03