From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?H=C3=BCwe?= Subject: Re: "reboot" detection ... Date: Sun, 26 Aug 2012 20:14:51 +0200 Message-ID: <201208262014.51840.PeterHuewe@gmx.de> References: <201208261422.58413.PeterHuewe@gmx.de> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-c-programming-owner@vger.kernel.org List-ID: Content-Type: Text/Plain; charset="us-ascii" To: Anatoly Sivov Cc: ratheesh kannoth , linux-c-programming@vger.kernel.org, linux-newbie 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