diff options
author | davej <davej> | 2002-11-02 03:26:54 +0000 |
---|---|---|
committer | davej <davej> | 2002-11-02 03:26:54 +0000 |
commit | ac18c85efa6229c2ff8efdcc7517ad0f9274860f (patch) | |
tree | 91505f16b5aa980cb888ae4ecffea24698d098a7 /identify.c | |
parent | 292bd140c618b47847f6d704ae99f7c6c1768e1d (diff) |
* identify.c: Print out URLs to errata/datasheet if known.
* x86info.c: Add -u & --urls
* Intel/identify.c: Add Pentium 4 URLs
Diffstat (limited to 'identify.c')
-rw-r--r-- | identify.c | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* - * $Id: identify.c,v 1.24 2002/07/12 01:48:59 davej Exp $ + * $Id: identify.c,v 1.25 2002/11/02 03:26:54 davej Exp $ * This file is part of x86info. * (C) 2001 Dave Jones. * @@ -104,6 +104,16 @@ void show_info(struct cpudata *cpu) if (show_connector) decode_connector (cpu->connector); + if (show_urls) { + if (cpu->datasheet_url != NULL) + printf ("Datasheet: %s\n", cpu->datasheet_url); + + if (cpu->errata_url != NULL) + printf ("Errata: %s\n", cpu->errata_url); + + printf ("\n"); + } + if (!user_is_root) return; |