selftests: timers: improve timer_create failure message

improve timer_create failure message with strerror() function
to give more information to the user.

Signed-off-by: Gianfranco Trad <gianf.trad@gmail.com>
Acked-by: John Stultz <jstultz@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
Gianfranco Trad 2024-08-29 17:37:25 +02:00 • committed by Shuah Khan
commit d70d421833