Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#83 Fix to cpu type detection fix

closed
nobody
None
5
2012-11-02
2009-04-14
Michael Karcher
No

On non-acient kernels, the new cpu type detection code introduced in revision #1869 always reports 386, as the value of "k" stays the default value of "3". I suppose, an sscanf was intended instead of the printf. The attached patch fixes it.

Discussion

  • use string in cpu instead of printing a constant value

     
    Attachments
  • Bart Oldeman
    Bart Oldeman
    2009-04-14

    :( I left a debug printf, it was a quick editing mistake.
    Thanks, I meant atoi as for the ancient kernel code. fixed in r1870.