]> 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)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 23:30:49 +0000 (08:30 +0900)
commit01afc74b2f8f14129fc539e8f34909242eb3599b
tree654400506adeacf9e66f1419f9bd65153d1dfd4d
parent48d3aca62ed2b93cfe62909ee21426796d65cd16
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