Menu

#83 Fix to cpu type detection fix

closed
nobody
None
5
2012-11-02
2009-04-14
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

  • Michael Karcher

    Michael Karcher - 2009-04-14

    use string in cpu instead of printing a constant value

     
  • 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.

     

Log in to post a comment.