aboutsummaryrefslogtreecommitdiff
path: root/arch/linux/common/boots.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/linux/common/boots.h')
-rw-r--r--arch/linux/common/boots.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/arch/linux/common/boots.h b/arch/linux/common/boots.h
index d3428ea9..8a3c11fa 100644
--- a/arch/linux/common/boots.h
+++ b/arch/linux/common/boots.h
@@ -1,6 +1,6 @@
/*
* HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -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);
}
}