summaryrefslogtreecommitdiff
path: root/cpuid.c
diff options
context:
space:
mode:
authordavej <davej>2001-05-21 13:12:00 +0000
committerdavej <davej>2001-05-21 13:12:00 +0000
commit9c85e23ef9648797d37e38017d4ad00f1da5f35f (patch)
tree6a03e9e1a62dc68525cb242f0e3c97dd424c0a46 /cpuid.c
parenta3614621510a24b8ab784ba059dd454b959f2965 (diff)
Get rid of the warning. It just makes a mess.
Diffstat (limited to 'cpuid.c')
-rw-r--r--cpuid.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpuid.c b/cpuid.c
index 6413dd4..4b078c2 100644
--- a/cpuid.c
+++ b/cpuid.c
@@ -1,5 +1,5 @@
/*
- * $Id: cpuid.c,v 1.4 2001/04/17 06:29:40 davej Exp $
+ * $Id: cpuid.c,v 1.5 2001/05/21 13:12:00 davej Exp $
* This file is part of x86info
* (C) 2000, 2001 Dave Jones.
* Fixes by Arjan van de Ven (arjanv@redhat.com) and
@@ -47,8 +47,7 @@ void cpuid (int CPU_number, int index,
close (fh);
} else {
/* Something went wrong, just do UP and hope for the best. */
- printf ("Detected SMP, but cpuid driver not loaded.\n");
- printf ("Falling back to UP cpuid routine.\n");
cpuid_UP (index, eax, ebx, ecx, edx);
+ return;
}
}