as I see the source code, it is not doing what it is supposed to do.. any
suggestions? (it's not a big deal but still it's a bug)
I did not modify any of the source codes.

Byung 

On Fri, 19 Nov 1999, Jeroen Ruigrok/Asmodai wrote:

> -On [19991119 04:02], Byung Yang ([EMAIL PROTECTED]) wrote:
> >supped && made world a min ago:
> >check out the CPU: name
> >I am using AMD K6-2 333Mhz
> 
> >-----------------------------------------------------------
> >CPU: \^E (334.40-MHz 586-class CPU)
> >  Origin = "AuthenticAMD"  Id = 0x580  Stepping = 0
> >  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
> >  AMD Features=0x80000800<SYSCALL,3DNow!>
> 
> I made world yesterday morning on two boxes, both are GenuineIntel and
> have no problems whatsoever.
> 
> Looking at /usr/src/sys/i386/i386/identcpu.c I see that the 0x580 is:
> 
> case 0x580:
>       strcat(cpu_model, "K6-2");
>       break;
> 
> Which gets copied into:
> 
> printf("CPU: ");
> strncpy(cpu_model, i386_cpus[cpu].cpu_name, sizeof cpu_model);
> 
> But I can't find anything remotely related that would corrupt the
> strncpy to print \^E.
> 
> -- 
> Jeroen Ruigrok van der Werven/Asmodai                  asmodai(at)wxs.nl
> The BSD Programmer's Documentation Project <http://home.wxs.nl/~asmodai>
> Network/Security Specialist        BSD: Technical excellence at its best
> I succeed him; no one could replace him.
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to