forked from Minki/linux
8f9577eda5
The newly added optional file argument does not validate if the
file is indeed a watchdog, e.g.:
./watchdog-test -f /dev/zero
Watchdog Ticking Away!
Fix it by confirming that the WDIOC_GETSUPPORT ioctl succeeds.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
watchdog-test.c |