mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-08-27 08:56:00 +00:00
kvm tools: Fix formatting of error message in TAP handling
This error message is missing a space, and has a redundant ":" at the end, currently it produces: You have requested a TAP device, but creation of one hasfailed because:: No such file or directory Add a space to "hasfailed" and remove the extra ":". Don't split the line to improve grepability. Acked-by: Asias He <asias.hejun@gmail.com> Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
a7b946b905
commit
db05112725
+1
-2
@@ -526,8 +526,7 @@ void virtio_net__init(const struct virtio_net_params *params)
|
||||
ndev->mode = params->mode;
|
||||
if (ndev->mode == NET_MODE_TAP) {
|
||||
if (!virtio_net__tap_init(params, ndev))
|
||||
die_perror("You have requested a TAP device, but creation of one has"
|
||||
"failed because:");
|
||||
die_perror("You have requested a TAP device, but creation of one has failed because");
|
||||
ndev->ops = &tap_ops;
|
||||
} else {
|
||||
ndev->info.host_ip = ntohl(inet_addr(params->host_ip));
|
||||
|
||||
Reference in New Issue
Block a user