diff options
author | Leandro Pereira <leandro@hardinfo.org> | 2019-06-29 22:35:53 -0700 |
---|---|---|
committer | Leandro Pereira <leandro@hardinfo.org> | 2019-06-29 22:35:53 -0700 |
commit | 2bf1a0317f479ee32f3a16be3f1bc22a99709da7 (patch) | |
tree | fefdd121486c2c0cd60fecc654f053f4d64e4cd5 /modules/computer.c | |
parent | c9d00c85af88085df1427e72dea11b836f409cd3 (diff) |
Show kernel command line
Diffstat (limited to 'modules/computer.c')
-rw-r--r-- | modules/computer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/computer.c b/modules/computer.c index 4a893dac..80d8ba2b 100644 --- a/modules/computer.c +++ b/modules/computer.c @@ -555,6 +555,7 @@ gchar *callback_os(void) info_add_group(info, _("Version"), info_field(_("Kernel"), computer->os->kernel), + info_field(_("Command Line"), computer->os->kcmdline ? : _("Unknown")), info_field(_("Version"), computer->os->kernel_version), info_field(_("C Library"), computer->os->libc), distro, @@ -971,6 +972,7 @@ void hi_module_deinit(void) if (computer->os) { g_free(computer->os->kernel); + g_free(computer->os->kcmdline); g_free(computer->os->libc); g_free(computer->os->distrocode); g_free(computer->os->distro); |