Re: "reboot" detection ...
Peter Hüwe <[email protected]> Sun, 26 Aug 2012 20:14:51 +0200
| Newsgroups | org.kernel.vger.linux-c-programming,org.kernel.vger.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