From f654729f552739d2198250358667bc782524a793 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Fri, 13 Oct 2006 19:10:22 +0000 Subject: Misc vendor fixes --- hardinfo2/arch/linux/x86/processor.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'hardinfo2/arch/linux/x86') diff --git a/hardinfo2/arch/linux/x86/processor.h b/hardinfo2/arch/linux/x86/processor.h index aba623bf..f13c9dcc 100644 --- a/hardinfo2/arch/linux/x86/processor.h +++ b/hardinfo2/arch/linux/x86/processor.h @@ -232,7 +232,10 @@ static struct { gchar * processor_get_capabilities_from_flags(gchar * strflags) { - /* FIXME: * Separate between processor capabilities, additional instructions and whatnot. */ + /* FIXME: + * - Separate between processor capabilities, additional instructions and whatnot. + * - Use binary search or something faster than this O(n) cruft + */ gchar **flags, **old; gchar *tmp = ""; gint i, j = 0; @@ -283,7 +286,7 @@ processor_get_info(Processor *processor) processor->family, processor->model, processor->stepping, - processor->vendor_id, + vendor_get_name(processor->vendor_id), processor->cache_size, processor->cpu_mhz, processor->bogomips, -- cgit v1.2.3