aboutsummaryrefslogtreecommitdiffstats
path: root/main/lxc/0002-fix-typo.patch
blob: 828e6cb7e919a6c675ab09f7ec1ac8a394b66f7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From b63fcfdcdcb17474c5ee1a8a62c9a4618cac4410 Mon Sep 17 00:00:00 2001
From: Serge Hallyn <serge.hallyn@ubuntu.com>
Date: Wed, 23 Jul 2014 10:19:24 -0500
Subject: [PATCH 2/3] fix typo

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
(cherry picked from commit f50b163d1d565a9c5f3fbab725b999c5746961ad)
---
 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 4270619..dfab159 100644
--- a/src/lxc/network.c
+++ b/src/lxc/network.c
@@ -1206,7 +1206,7 @@ static int attach_to_ovs_bridge(const char *bridge, const char *nic)
 static inline bool is_ovs_bridge(const char *bridge) { return false; }
 static inline int attach_to_ovs_bridge(const char *bridge, const char *nic)
 {
-	retun -1;
+	return -1;
 }
 #endif
 
-- 
2.1.2