From: Michael Ellerman Date: Fri, 10 Aug 2012 05:38:51 +0000 (+1000) Subject: kvm tools: Fix formatting of error message in TAP handling X-Git-Tag: next-20120816~7^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5d021d04bf93e2b8b04ab7f5ec53e9164958a2fe;p=karo-tx-linux.git 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 Signed-off-by: Michael Ellerman Signed-off-by: Pekka Enberg --- diff --git a/tools/kvm/virtio/net.c b/tools/kvm/virtio/net.c index 10420ae5aad1..8f3735b91a12 100644 --- a/tools/kvm/virtio/net.c +++ b/tools/kvm/virtio/net.c @@ -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));