Skip to content

Commit fae8d1d

Browse files
committed
PhysicalMemory: fix --format json printing
1 parent 217ea61 commit fae8d1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/modules/physicalmemory/physicalmemory.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ static FFModuleBaseInfo ffModuleInfo = {
160160
.parseJsonObject = (void*) ffParsePhysicalMemoryJsonObject,
161161
.printModule = (void*) ffPrintPhysicalMemory,
162162
.generateJsonConfig = (void*) ffGeneratePhysicalMemoryJsonConfig,
163+
.generateJsonResult = (void*) ffGeneratePhysicalMemoryJsonResult,
163164
.formatArgs = FF_FORMAT_ARG_LIST(((FFModuleFormatArg[]) {
164165
{"Size (in bytes)", "bytes"},
165166
{"Size formatted", "size"},

0 commit comments

Comments
 (0)