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