mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-29 21:37:54 -04:00
pipewire: use EBADF in pw_load_spa_handle
This is defined in POSIX and is more portable than the linux-specific EBADFD.
This commit is contained in:
parent
c6bcbab483
commit
db8bb8d489
1 changed files with 1 additions and 1 deletions
|
|
@ -320,7 +320,7 @@ struct spa_handle *pw_load_spa_handle(const char *lib,
|
|||
error:
|
||||
pw_log_error("load lib: pw_init() was not called");
|
||||
pthread_mutex_unlock(&support_lock);
|
||||
errno = EBADFD;
|
||||
errno = EBADF;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue