From 594fd21102aa7b7dce1509b31944d10836108c6b Mon Sep 17 00:00:00 2001 From: John Snow Date: Mon, 29 Jun 2015 16:56:26 -0400 Subject: trivial: remove trailing newline from error_report Minor cleanup. Signed-off-by: John Snow Reviewed-by: Gonglei Reviewed-by: Stefan Hajnoczi Signed-off-by: Michael Tokarev --- net/tap-linux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/tap-linux.c') diff --git a/net/tap-linux.c b/net/tap-linux.c index 394f2a6..5bd9d21 100644 --- a/net/tap-linux.c +++ b/net/tap-linux.c @@ -211,7 +211,7 @@ int tap_fd_set_vnet_le(int fd, int is_le) return -errno; } - error_report("TUNSETVNETLE ioctl() failed: %s.\n", strerror(errno)); + error_report("TUNSETVNETLE ioctl() failed: %s.", strerror(errno)); abort(); } @@ -228,7 +228,7 @@ int tap_fd_set_vnet_be(int fd, int is_be) return -errno; } - error_report("TUNSETVNETBE ioctl() failed: %s.\n", strerror(errno)); + error_report("TUNSETVNETBE ioctl() failed: %s.", strerror(errno)); abort(); } -- cgit v1.1