aboutsummaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-05-13 21:47:06 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-05-13 21:47:06 -0700
commit3879e552d2fc3bcd1b5d590376aaf9735643daaa (patch)
treea76ee756ff086b168c8fc8c5b74caf358d513ad9 /modules/benchmark.c
parent7122a7f7dc6a5edf7a6fbc661c25f7b73946948a (diff)
DataFromSuperUser should be serialized as boolean, not int
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index a375a8a8..c8963a4f 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -835,7 +835,7 @@ static gchar *get_benchmark_results(gsize *len)
ADD_JSON_VALUE(int, "NumThreads", this_machine->threads);
ADD_JSON_VALUE(string, "MachineId", this_machine->mid);
ADD_JSON_VALUE(int, "PointerBits", this_machine->ptr_bits);
- ADD_JSON_VALUE(int, "DataFromSuperUser", this_machine->is_su_data);
+ ADD_JSON_VALUE(boolean, "DataFromSuperUser", this_machine->is_su_data);
ADD_JSON_VALUE(int, "PhysicalMemoryInMiB",
this_machine->memory_phys_MiB);
ADD_JSON_VALUE(string, "MemoryTypes", this_machine->ram_types);