]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: card: report open error
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:26:26 +0000 (16:26 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:30:44 +0000 (16:30 +0900)
commitfd11af6976670ab307bc0d41a1edceabf004e6f8
tree654400506adeacf9e66f1419f9bd65153d1dfd4d
parent62b11408dbaf8a08994a3da7b5e754577ebf7407
ctl: card: report open error

The call of open system call can return several types of error from VFS.
It's hard to dispatch all of the error in local error domain.

This commit uses GFileError to dispatch the most of the error. At
failure of conversion to GFileError, local error domain is used.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/card.c