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>
This commit is contained in:
committed by
Michael Tokarev
parent
012aef0734
commit
594fd21102
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user