LibIPC: Oops, fix busted dbgln() format string (thanks, checker!)

This commit is contained in:
Andreas Kling 2021-02-13 20:37:05 +01:00
parent 05bb11f482
commit dc42b4565b
Notes: sideshowbarker 2024-07-18 22:21:02 +09:00

View file

@ -177,7 +177,7 @@ bool Decoder::decode([[maybe_unused]] File& file)
return false;
}
if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) {
dbgln("fcntl(F_SETFD, FD_CLOEXEC)", strerror(errno));
dbgln("fcntl(F_SETFD, FD_CLOEXEC): {}", strerror(errno));
return false;
}
file = File(fd, File::ConstructWithReceivedFileDescriptor);