aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2015-06-29 16:56:26 -0400
committerMichael Tokarev <mjt@tls.msk.ru>2015-09-11 10:21:38 +0300
commit594fd21102aa7b7dce1509b31944d10836108c6b (patch)
tree5f3edc5971929fba162702a9dc9dd13594d0df6e /net
parent012aef073461fd24a901d7a8742532093b7f6ae5 (diff)
trivial: remove trailing newline from error_report
Minor cleanup. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Gonglei <arei.gonglei@huawei.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'net')
-rw-r--r--net/tap-linux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tap-linux.c b/net/tap-linux.c
index 394f2a646f..5bd9d21898 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();
}