From be19cd5f12fcc827c1c2533bc50902dd2111ff64 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 22 Feb 2011 18:09:45 -0500 Subject: fix segfault --- x86info.c | 1 + 1 file changed, 1 insertion(+) diff --git a/x86info.c b/x86info.c index 89f6960..1a50579 100644 --- a/x86info.c +++ b/x86info.c @@ -245,6 +245,7 @@ int main (int argc, char **argv) } /* For now, we only support topology parsing on Intel. */ + cpu = firstcpu; if (cpu->vendor == VENDOR_INTEL) display_topology(firstcpu); -- cgit v1.2.3