mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 11:36:10 +00:00
LibIPC: Tweak a misleading perror()
If we get an error from recv(), let's blame "recv" instead of "read".
This commit is contained in:
parent
6e0af349a2
commit
cb47ab15ec
Notes:
sideshowbarker
2024-07-19 04:48:08 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/cb47ab15ec3
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ private:
|
|||
if (nread < 0) {
|
||||
if (errno == EAGAIN)
|
||||
break;
|
||||
perror("read");
|
||||
perror("recv");
|
||||
exit(1);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue