Update sys_config.cpp

This commit is contained in:
Elad 2025-01-22 09:38:00 +02:00 committed by GitHub
parent d18fcbf040
commit 32bae70560
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -403,7 +403,7 @@ error_code sys_config_register_service(u32 config_hdl, sys_config_service_id ser
sys_config.trace("sys_config_register_service(config_hdl=0x%x, service_id=0x%llx, user_id=0x%llx, verbosity=0x%llx, data_but=*0x%llx, size=%lld, out_service_hdl=*0x%llx)", config_hdl, service_id, user_id, verbosity, data_buf, size, out_service_hdl);
// Find sys_config handle object with the given ID
const auto cfg = idm::get_unlocked<lv2_config_handle>(config_hdl);
const auto cfg = idm::withdraw<lv2_config_handle>(config_hdl);
if (!cfg)
{
return CELL_ESRCH;