platform/pcbid.c: Return HRESULT for consistency

This commit is contained in:
Tau
2019-11-03 19:54:31 -05:00
parent a5a42c3326
commit c7255e3ebb
3 changed files with 11 additions and 5 deletions

View File

@ -69,7 +69,11 @@ HRESULT platform_hook_init(
return hr;
}
pcbid_hook_init(&cfg->pcbid);
hr = pcbid_hook_init(&cfg->pcbid);
if (FAILED(hr)) {
return hr;
}
hr = vfs_hook_init(&cfg->vfs);