diff options
author | Burt P <pburt0@gmail.com> | 2019-06-28 23:18:37 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2019-06-29 17:58:52 -0700 |
commit | 6f8fc6a5816b2d404ad41a8b84830006a5b473e2 (patch) | |
tree | 32705017111aa7a8d625975825ca5a2fc320158b /modules/devices/dmi_memory.c | |
parent | 0b3d25f596f7f58e9210fe50d90f580af2339b46 (diff) |
Memory Devices: unkifnull() a couple types_str uses
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'modules/devices/dmi_memory.c')
-rw-r--r-- | modules/devices/dmi_memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/devices/dmi_memory.c b/modules/devices/dmi_memory.c index 8cb0395d..be89127e 100644 --- a/modules/devices/dmi_memory.c +++ b/modules/devices/dmi_memory.c @@ -524,7 +524,7 @@ gchar *memory_devices_get_info() { _("Error Correction Type"), UNKIFNULL2(a->ecc), _("Size (Present / Max)"), size_str, _("Devices (Populated / Sockets)"), a->devs_populated, a->devs, - _("Types Present"), a->ram_types, types_str + _("Types Present"), a->ram_types, UNKIFNULL2(types_str) ); moreinfo_add_with_prefix(key_prefix, key, details); /* moreinfo now owns *details */ ret = h_strdup_cprintf("$!%s$%s=%s|%s\n", @@ -646,7 +646,7 @@ gchar *memory_devices_get_info() { _("Serial Presence Detect (SPD) Summary"), _("Size"), size_str, _("Devices"), g_slist_length(mem->spd), - _("Types Present"), mem->spd_ram_types, types_str + _("Types Present"), mem->spd_ram_types, UNKIFNULL2(types_str) ); moreinfo_add_with_prefix(key_prefix, key, details); /* moreinfo now owns *details */ ret = h_strdup_cprintf("$!%s$%s=%s|%s\n", |