mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-10 04:27:48 -05:00
protocol: use Fd pod for fd indexes for easier debugging
This commit is contained in:
parent
8da7222c7e
commit
2f28e59c63
3 changed files with 12 additions and 14 deletions
|
|
@ -196,7 +196,7 @@ static int refill_buffer(struct pw_protocol_native_connection *conn, struct buff
|
|||
|
||||
/* ERRORS */
|
||||
recv_error:
|
||||
pw_log_error("could not recvmsg on fd %d: %s", conn->fd, strerror(errno));
|
||||
pw_log_error("could not recvmsg on fd:%d: %s", conn->fd, strerror(errno));
|
||||
return -errno;
|
||||
}
|
||||
|
||||
|
|
@ -517,7 +517,7 @@ int pw_protocol_native_connection_flush(struct pw_protocol_native_connection *co
|
|||
/* ERRORS */
|
||||
send_error:
|
||||
res = -errno;
|
||||
pw_log_error("could not sendmsg: %s", strerror(errno));
|
||||
pw_log_error("could not sendmsg on fd:%d n_fds:%d: %s", conn->fd, n_fds, strerror(errno));
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue