diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-10-31 22:35:43 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2008-10-31 22:35:43 -0300 |
commit | 26bfbc6e7310f76b8fca6fee2957a74e7fd1feae (patch) | |
tree | 07a52e1c0d34e615b5e89245daf24476f48658a7 /hardinfo2/arch/linux/common/boots.h | |
parent | 69268767f3055cb6e1548459185c2617ef7977f6 (diff) | |
parent | cafe9d5b63c93d7d0c20154bb8ffa510dd50cbef (diff) |
Merge branch 'master' of git@github.com:lpereira/hardinfo
Diffstat (limited to 'hardinfo2/arch/linux/common/boots.h')
-rw-r--r-- | hardinfo2/arch/linux/common/boots.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hardinfo2/arch/linux/common/boots.h b/hardinfo2/arch/linux/common/boots.h index b5285a9f..8a3c11fa 100644 --- a/hardinfo2/arch/linux/common/boots.h +++ b/hardinfo2/arch/linux/common/boots.h @@ -47,11 +47,10 @@ scan_boots_real(void) } } - tmp = g_strsplit(buffer, " ", 5); - computer->os->boots = h_strdup_cprintf("\n%s=Kernel %s", + tmp = g_strsplit(buffer, " ", 0); + computer->os->boots = h_strdup_cprintf("\n%s %s %s %s=%s|%s", computer->os->boots, - tmp[4], - tmp[3]); + tmp[4], tmp[5], tmp[6], tmp[7], tmp[3], tmp[8]); g_strfreev(tmp); } } |