commit | 9a244229a4b850b11952a0df79607c69b18fd8df | [log] [tgz] |
---|---|---|
author | Shuah Khan (Samsung OSG) <shuah@kernel.org> | Wed Sep 26 13:07:11 2018 -0600 |
committer | Shuah Khan (Samsung OSG) <shuah@kernel.org> | Wed Oct 24 14:49:36 2018 -0600 |
tree | 5126d7dc45ab590bd5caeb97fae03cefce05685c | |
parent | 8ffade754bdf8350f63792c6125346d77f975b41 [diff] |
selftests: watchdog: fix message when /dev/watchdog open fails When /dev/watchdog open fails, watchdog exits with "watchdog not enabled" message. This is incorrect when open fails due to insufficient privilege. Fix message to clearly state the reason when open fails with EACCESS when a non-root user runs it. Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>