From fc48b63b38acbe347e0dd7b443c54f81f46984ec Mon Sep 17 00:00:00 2001 From: 05356787 <05356787@localhost.localdomain> Date: Fri, 31 Oct 2008 13:33:57 -0200 Subject: Make "Boots" feature better --- hardinfo2/arch/linux/common/boots.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hardinfo2/arch/linux/common') diff --git a/hardinfo2/arch/linux/common/boots.h b/hardinfo2/arch/linux/common/boots.h index b5285a9f..388e72a4 100644 --- a/hardinfo2/arch/linux/common/boots.h +++ b/hardinfo2/arch/linux/common/boots.h @@ -47,11 +47,11 @@ 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); } } -- cgit v1.2.3