summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sockets/bsd.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2023-06-26 04:23:23 +0200
committercomex <comexk@gmail.com>2023-06-26 04:24:49 +0200
commitd885dd5b642807d0587acad43668cfccfdf06d1e (patch)
treeb3f4ac530883702313901f9d48453577ce060175 /src/core/hle/service/sockets/bsd.cpp
parentnetwork.cpp: include expected.h (diff)
downloadyuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.gz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.bz2
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.lz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.xz
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.tar.zst
yuzu-d885dd5b642807d0587acad43668cfccfdf06d1e.zip
Diffstat (limited to 'src/core/hle/service/sockets/bsd.cpp')
-rw-r--r--src/core/hle/service/sockets/bsd.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index 6677689dc..6034cc0b5 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -270,10 +270,10 @@ void BSD::GetSockOpt(HLERequestContext& ctx) {
std::vector<u8> optval(ctx.GetWriteBufferSize());
- LOG_WARNING(Service, "called. fd={} level={} optname=0x{:x} len=0x{:x}", fd, level, optname,
- optval.size());
+ LOG_DEBUG(Service, "called. fd={} level={} optname=0x{:x} len=0x{:x}", fd, level, optname,
+ optval.size());
- Errno err = GetSockOptImpl(fd, level, optname, optval);
+ const Errno err = GetSockOptImpl(fd, level, optname, optval);
ctx.WriteBuffer(optval);
@@ -447,7 +447,7 @@ void BSD::DuplicateSocket(HLERequestContext& ctx) {
const s32 fd = rp.Pop<s32>();
[[maybe_unused]] const u64 unused = rp.Pop<u64>();
- Common::Expected<s32, Errno> res = DuplicateSocketImpl(fd);
+ Expected<s32, Errno> res = DuplicateSocketImpl(fd);
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
rb.Push(res.value_or(0)); // ret