From 9de28746a5edd2b9ba6fbd79956891ed4692e5d5 Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Fri, 23 Jul 2010 17:17:14 +0200 Subject: [PATCH] avoid compile warning in src/lxc/console.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit src/lxc/console.c:143: warning : return type defaults to ‘int’ Signed-off-by: Michel Normand Signed-off-by: Daniel Lezcano --- src/lxc/console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/console.c b/src/lxc/console.c index edefc41c2..417babdee 100644 --- a/src/lxc/console.c +++ b/src/lxc/console.c @@ -139,7 +139,7 @@ out_close: return 1; } -static get_default_console(char **console) +static int get_default_console(char **console) { int fd; -- 2.47.2