diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2019-09-04 08:22:37 -0400 |
---|---|---|
committer | Felipe Franciosi <felipe@nutanix.com> | 2019-09-05 16:45:35 +0100 |
commit | 75d841f99b1cc7f42890cc2333422263c6beabcb (patch) | |
tree | 56df9384dedf445ddd84f87d5ea03d2fdb2dba10 /lib | |
parent | dae65190174ee1c861303f5e205acc11266c4cbd (diff) | |
download | libvfio-user-75d841f99b1cc7f42890cc2333422263c6beabcb.zip libvfio-user-75d841f99b1cc7f42890cc2333422263c6beabcb.tar.gz libvfio-user-75d841f99b1cc7f42890cc2333422263c6beabcb.tar.bz2 |
fix error message for bad read
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libmuser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmuser.c b/lib/libmuser.c index e5805e1..f6cc080 100644 --- a/lib/libmuser.c +++ b/lib/libmuser.c @@ -590,7 +590,7 @@ post_read(lm_ctx_t * const lm_ctx, struct muser_cmd *const cmd, ssize_t ret) { if (ret != cmd->rw.count) { /* FIXME shouldn't we still reply to the kernel in case of error? */ - lm_log(lm_ctx, LM_ERR, "%s: bad fops read: %d/%d, %s\n", + lm_log(lm_ctx, LM_ERR, "%s: bad read: %d/%d, %s\n", __func__, ret, cmd->rw.count, strerror(errno)); #ifdef LM_CRASH_ON_BAD_READ abort(); |