summaryrefslogtreecommitdiff
path: root/alsa-info
diff options
context:
space:
mode:
authorOscar65 <megia.oscar@gmail.com>2020-04-16 12:35:21 +0200
committerJaroslav Kysela <perex@perex.cz>2020-04-17 09:29:24 +0200
commitd2bf87608a1c3f2d62ceb9300a74e9006394c678 (patch)
tree8e7b0504e0bc222623e8f42f37d623ce17e8cba6 /alsa-info
parent5fe6b866594c6d59d1960356590a00ccc4cdf4c7 (diff)
downloadalsa-utils-d2bf87608a1c3f2d62ceb9300a74e9006394c678.tar.gz
alsactl: fix error handling for sched_setscheduler() call
As man page says: "If successful, the sched_setparam() function shall return zero." Without update I got this output in the syslog (journalctl): abr 16 09:25:30 mypc alsactl[1652]: alsactl 1.2.2 daemon started abr 16 09:25:30 mypc alsactl[1652]: /usr/bin/alsactl: do_nice:165sched_setparam failed: No such file or directory If sched_setscheduler() returns 0, so it means that the call was successful. Signed-off-by: Oscar MegĂ­a <megia.oscar@gmail.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'alsa-info')
0 files changed, 0 insertions, 0 deletions