Bugfix: sockets: Correct error message when socket() fails

This commit is contained in:
Luke Dashjr 2025-03-08 17:35:29 +00:00
parent d7b7f78b6e
commit 8df1c4fa5b
No known key found for this signature in database
GPG Key ID: A291A2C45D0C504A

View File

@ -579,7 +579,7 @@ void *datum_gateway_listener_thread(void *arg) {
listen_sock = socket(AF_INET, SOCK_STREAM, 0);
if (-1 == listen_sock) {
DLOG_FATAL("Could get socket: %s", strerror(errno));
DLOG_FATAL("Could not create listening socket: %s", strerror(errno));
panic_from_thread(__LINE__);
return NULL;
}