Skip to contentSkip to conversation

Fix incorrect usages of `strerror`

DISCUSSION GitHub pull_request - opened 1 participant 1 message Nov 21, 2023 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

alsa-project/alsa-utils pull request #245 was opened from i-Pear:

strerror takes the errno directly as its argument, negating it will result in an "Unknown error".

This fixes such usages across multiple modules.

Request URL : https://github.com/alsa-project/alsa-utils/pull/245
Patch URL : https://github.com/alsa-project/alsa-utils/pull/245.patch
Repository URL: https://github.com/alsa-project/alsa-utils