diff options
author | Bill Nottingham <notting@redhat.com> | 2006-01-12 16:10:48 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-01-12 16:10:48 +0000 |
commit | af200403194358a1093a6ab495ec92aaefdb8fee (patch) | |
tree | 436f43583ae3187967db5a8e610e0bd78825ae40 | |
parent | 78c8dbff1a6a2dd63d948ae82942b5c8dc6500ae (diff) | |
download | initscripts-af200403194358a1093a6ab495ec92aaefdb8fee.tar initscripts-af200403194358a1093a6ab495ec92aaefdb8fee.tar.gz initscripts-af200403194358a1093a6ab495ec92aaefdb8fee.tar.bz2 initscripts-af200403194358a1093a6ab495ec92aaefdb8fee.tar.xz initscripts-af200403194358a1093a6ab495ec92aaefdb8fee.zip |
oops
-rw-r--r-- | src/redhat-support-check.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redhat-support-check.c b/src/redhat-support-check.c index db80227c..dd5bc162 100644 --- a/src/redhat-support-check.c +++ b/src/redhat-support-check.c @@ -67,7 +67,7 @@ unsigned int get_num_cpus() { int ncpus = sysconf(_SC_NPROCESSORS_ONLN); #if defined(__i386__) || defined(__x86_64__) - u_int32_t eax = 0, ebx = 1, ecx = 0, edx = 0; + u_int32_t eax = 0, ebx = 0, ecx = 0, edx = 0; cpuid(0, &eax, &ebx, &ecx, &edx); if (ebx == 0x756e6547) { /* Intel */ |