aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/spd-decode.c
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2019-06-25 21:56:37 -0500
committerLeandro A. F. Pereira <leandro@hardinfo.org>2019-06-26 17:50:23 -0700
commit0a81e30478ed461e216e2e81eab25bd9daf18a69 (patch)
treebbeedc05515abc37da285f32d099acd7e2cfc51d /modules/devices/spd-decode.c
parent35def33e9fe340e29f66f23c01390d7700b65d5f (diff)
devices/spd-decode.c: show spd details in reports
Adding ! in front of the key causes the "moreinfo" details to be included in a `hardinfo -r` report. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/spd-decode.c')
-rw-r--r--modules/devices/spd-decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/devices/spd-decode.c b/modules/devices/spd-decode.c
index 9c9c5c7c..887ec749 100644
--- a/modules/devices/spd-decode.c
+++ b/modules/devices/spd-decode.c
@@ -1770,7 +1770,7 @@ static gchar *decode_dimms(GSList *dimm_list, gboolean use_sysfs, int max_size)
if (!output)
output = g_string_new("");
- g_string_append_printf(output, "$MEM%d$%d=%s|%d MB|%s\n", count, count, part_number,
+ g_string_append_printf(output, "$!MEM%d$%d=%s|%d MB|%s\n", count, count, part_number,
module_size, manufacturer);
g_free(spd_path);