Re: "reboot" detection ...

"Anatoly Sivov" <[email protected]>
Newsgroups org.kernel.vger.linux-newbie,org.kernel.vger.linux-c-programming
Message-ID <op.wjnpn71bfzo5me@stalin>
> static void __exit my_reboot_exit(void)
> {
> 	register_reboot_notifier(&my_reboot_notifier);
> }

Surely, this one should call unregister_reboot_notifier.
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.