mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse-server: return INTERNAL error for ENFILE/EMFILE
This commit is contained in:
parent
05c633a4f5
commit
bbbc79647f
1 changed files with 1 additions and 0 deletions
|
|
@ -127,6 +127,7 @@ static inline int res_to_err(int res)
|
|||
case -ENOSYS: return ERR_NOTIMPLEMENTED;
|
||||
case -EIO: return ERR_IO;
|
||||
case -EBUSY: return ERR_BUSY;
|
||||
case -ENFILE: case -EMFILE: return ERR_INTERNAL;
|
||||
}
|
||||
return ERR_UNKNOWN;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue