Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9a244229 authored by Shuah Khan (Samsung OSG)'s avatar Shuah Khan (Samsung OSG)
Browse files

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: default avatarShuah Khan (Samsung OSG) <shuah@kernel.org>
parent 8ffade75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment