[lkml]   [2001]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: System hangs during interruptible_sleep_on_timeout() under 2.4.9

    On Wed, 26 Sep 2001, Russell King wrote:

    > > printk("<%d>", irq);

    > Hmm, isn't <0>, <1> etc used to encode the printk level in the string
    > though?

    yes. the above will still be printed, because there is no newline in the
    printk. The first printk (which is very likely <0>), will be interpreted
    as KERN_EMERG and will be snipped, the rest of the 'line' will be printed.
    (until something printk's a \n, when the whole thing starts again.) But
    you are right, it's more consistent and safer to use eg. "(%d)".


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:03    [W:0.022 / U:41.500 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site