printk and \n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

printk("device opened\n");
printk("device file opened by %d", current->pid);

Here the second printk output is not displayed.
Without \n printk is not flushing out its buffer. If I give, \n in the second printk it is working.

Is there any reason for that?

Sri--

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux