aboutsummaryrefslogtreecommitdiff
path: root/hardinfo/dmi_util.c
AgeCommit message (Collapse)Author
2018-04-24dmi: ignore placeholder strings ("To Be Filled...", etc)Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27dmi: check for null from dmi_get_str() in dmi_chassis_type_str()Burt P
Fix a crash when there is no DMI available. Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27dmi: requested changesBurt P
Change requested by lpereira in https://github.com/lpereira/hardinfo/pull/160 Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27DMI: allow specifying type for dmi_chassis_type_str()Burt P
Signed-off-by: Burt P <pburt0@gmail.com>
2017-08-27Create dmi_util.c and move *_util.c to hardinfo/Burt P
These stand alone interfaces and are used across modules, so just make them available to any module by default. Signed-off-by: Burt P <pburt0@gmail.com>