mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pipewire: return better errno symbol not found
This commit is contained in:
parent
2b75f28d8b
commit
e28b5b8232
1 changed files with 5 additions and 5 deletions
|
|
@ -116,8 +116,8 @@ open_plugin(struct registry *registry,
|
|||
goto error_free_filename;
|
||||
}
|
||||
if ((enum_func = dlsym(hnd, SPA_HANDLE_FACTORY_ENUM_FUNC_NAME)) == NULL) {
|
||||
res = -ESRCH;
|
||||
pw_log_error("can't find enum function");
|
||||
res = -ENOSYS;
|
||||
pw_log_error("can't find enum function: %s", dlerror());
|
||||
goto error_dlclose;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue