question about pr_info (newbie)
Valdis.Kletnieks at vt.edu
Valdis.Kletnieks at vt.edu
Mon Dec 29 08:58:24 EST 2014
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....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141229/90d578fb/attachment.bin
More information about the Kernelnewbies
mailing list