Re: "reboot" detection ...

Peter Hüwe <[email protected]>
Newsgroups org.kernel.vger.linux-newbie,org.kernel.vger.linux-c-programming
Message-ID <[email protected]>
Am Sonntag, 26. August 2012, 18:34:45 schrieb Anatoly Sivov:
> > static void __exit my_reboot_exit(void)
> > {
> > 
> > 	register_reboot_notifier(&my_reboot_notifier);
> > 
> > }
> 
> Surely, this one should call unregister_reboot_notifier.

Hehe, yes. This was just a test to see if you pay attention.

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.