From 0a81e30478ed461e216e2e81eab25bd9daf18a69 Mon Sep 17 00:00:00 2001 From: Burt P Date: Tue, 25 Jun 2019 21:56:37 -0500 Subject: 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 --- modules/devices/spd-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/devices') 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); -- cgit v1.2.3