Re: "reboot" detection ...

Peter Hüwe <[email protected]>
Newsgroups gmane.linux.c-programming,gmane.linux.newbie
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

--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
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.