diff options
Diffstat (limited to 'lib/tran_sock.c')
-rw-r--r-- | lib/tran_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tran_sock.c b/lib/tran_sock.c index e798cec..b155b69 100644 --- a/lib/tran_sock.c +++ b/lib/tran_sock.c @@ -292,7 +292,7 @@ vfu_recv_fds(int sock, struct vfio_user_header *hdr, bool is_reply, if (is_reply) { if (msg_id != NULL && hdr->msg_id != *msg_id) { - return -EINVAL; + return -EPROTO; } if (hdr->flags.type != VFIO_USER_F_TYPE_REPLY) { |