From: Devendra Naga Date: Thu, 17 May 2012 09:37:48 +0000 (+0530) Subject: Documentation/watchdog: Fix the file descriptor leak when no cmdline arg given X-Git-Tag: v3.5-rc1~113^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cad19fa66469d2a745fae0c168833d5d33d64489;p=pandora-kernel.git Documentation/watchdog: Fix the file descriptor leak when no cmdline arg given we start a infinite loop when user gives ./watchdog-test, and when user ctrl + c's the program, we just exit immeadiately with out closing the filedescriptor of the watchdog device. a signal handler is used to do the job of closing the filedescriptor and exiting the program. Signed-off-by: Devendra Naga Signed-off-by: Wim Van Sebroeck --- Reading git-diff-tree failed