1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 21:08:12 +00:00

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

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);