"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "26b88520b80695a6fa5fd95b5d97c03f4daf87e0"
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 <devendra.aaru@gmail.com> Signed-off-by:
Wim Van Sebroeck <wim@iguana.be>
Loading
Please register or sign in to comment