aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2020-09-23 04:35:37 -0400
committerThanos Makatos <thanos.makatos@nutanix.com>2020-09-23 05:11:51 -0400
commit5bc6de967b641313caac2d909462e7b03412399c (patch)
tree6a9a3c96d94df81cc5a34e5b0a8c3b2987405929
parent28ac83be1afb0340a50ad23688a41a367c2e0521 (diff)
downloadlibvfio-user-5bc6de967b641313caac2d909462e7b03412399c.zip
libvfio-user-5bc6de967b641313caac2d909462e7b03412399c.tar.gz
libvfio-user-5bc6de967b641313caac2d909462e7b03412399c.tar.bz2
drop extraneous newline from some log messages
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
-rw-r--r--lib/libmuser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libmuser.c b/lib/libmuser.c
index c12130f..bb3254e 100644
--- a/lib/libmuser.c
+++ b/lib/libmuser.c
@@ -1483,14 +1483,14 @@ process_request(lm_ctx_t *lm_ctx)
if (errno == EAGAIN || errno == EWOULDBLOCK) {
return 0;
}
- lm_log(lm_ctx, LM_ERR, "failed to receive request: %m\n");
+ lm_log(lm_ctx, LM_ERR, "failed to receive request: %m");
return err;
}
if (unlikely(err == 0)) {
if (errno == 0) {
- lm_log(lm_ctx, LM_INF, "VFIO client closed connection\n");
+ lm_log(lm_ctx, LM_INF, "VFIO client closed connection");
} else {
- lm_log(lm_ctx, LM_ERR, "end of file: %m\n");
+ lm_log(lm_ctx, LM_ERR, "end of file: %m");
}
return -ENOTCONN;
}