[lxc-devel] [lxc/master] network: Fixes a little typo in an error message

tomponline on Github lxc-bot at linuxcontainers.org
Fri Apr 26 16:50:05 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 357 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20190426/ec79aac5/attachment.bin>
-------------- next part --------------
From 89042b667cbf028f10b1045a3e9d4578ef9db106 Mon Sep 17 00:00:00 2001
From: tomponline <thomas.parrott at canonical.com>
Date: Fri, 26 Apr 2019 17:49:32 +0100
Subject: [PATCH] network: Fixes a little typo in an error message

Signed-off-by: tomponline <thomas.parrott at canonical.com>
---
 src/lxc/network.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/network.c b/src/lxc/network.c
index d1b4d43ada..8300fb7abd 100644
--- a/src/lxc/network.c
+++ b/src/lxc/network.c
@@ -2974,7 +2974,7 @@ static int lxc_setup_netdev_in_child_namespaces(struct lxc_netdev *netdev)
 				if (netdev->ipv4_gateway_auto) {
 					char buf[INET_ADDRSTRLEN];
 					inet_ntop(AF_INET, netdev->ipv4_gateway, buf, sizeof(buf));
-					ERROR("Fried to set autodetected ipv4 gateway \"%s\"", buf);
+					ERROR("Failed to set autodetected ipv4 gateway \"%s\"", buf);
 				}
 				return -1;
 			}


More information about the lxc-devel mailing list