mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 01:49:11 +00:00
client_msg_cb: make warning match the function that failed
This commit is contained in:
parent
f0e1a5ca38
commit
f73162df35
@ -1933,7 +1933,7 @@ client_msg_cb(int fd, int what, void *v)
|
||||
{
|
||||
const ssize_t n = write(fd, buf->data + buf->off, buf->len - buf->off);
|
||||
if (n < 0) {
|
||||
sudo_warn("send");
|
||||
sudo_warn("write");
|
||||
goto bad;
|
||||
}
|
||||
nwritten = (size_t)n;
|
||||
|
Loading…
x
Reference in New Issue
Block a user