bsd: Fix EventFd stub

This commit is contained in:
Morph 2021-01-31 02:53:39 -05:00
parent 1cc009a996
commit ded094a340
1 changed files with 3 additions and 3 deletions

View File

@ -421,11 +421,11 @@ void BSD::Close(Kernel::HLERequestContext& ctx) {
}
void BSD::EventFd(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
IPC::RequestParser rp{ctx};
const s32 fd = rp.Pop<s32>();
const u64 initval = rp.Pop<u64>();
const u32 flags = rp.Pop<u32>();
LOG_DEBUG(Service, "called. fd={}", fd);
LOG_WARNING(Service, "(STUBBED) called. initval={}, flags={}", initval, flags);
BuildErrnoResponse(ctx, Errno::SUCCESS);
}