Skip to content
Commit 3c2a6186 authored by Devendra Naga's avatar Devendra Naga Committed by Wim Van Sebroeck
Browse files

Documentation/watchdog: close the fd when cmdline arg given



in the watchdog test code, the ioctl is performed on the watchdog device
and just doing exit(0) so we leak a filedescripor.

Signed-off-by: default avatarDevendra Naga <devendra.aaru@gmail.com>
Signed-off-by: default avatarWim Van Sebroeck <wim@iguana.be>
parent 2deca736
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment