Re: question about pr_info (newbie)

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

 



On Mon, 29 Dec 2014 11:32:22 +0200, Kevin Wilson said:

> The module_init() method has one call to pr_info("Hello world!\n").
> However, when I run "insmod helloWorld.ko" I get TWO messages in the
> kernel log and not one, as I expected:
>
> ..
> Dec 29 11:24:40 kv kernel: [67479.245642] Hello world!
> Dec 29 11:24:40 kv kernel: Hello world!

Check to make sure you don't have a bug in your syslog.conf causing
it to log the message twice....

Attachment: pgpZK7eoJJ6NB.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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