]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
avoid compile warning in src/lxc/console.c
authorMichel Normand <normand@fr.ibm.com>
Fri, 23 Jul 2010 15:17:14 +0000 (17:17 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Fri, 23 Jul 2010 15:17:14 +0000 (17:17 +0200)
src/lxc/console.c:143: warning : return type defaults to ‘int’

Signed-off-by: Michel Normand <normand@fr.ibm.com>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/console.c

index edefc41c2e08fe61167894a981f53bc84a3f7325..417babdee9a4837ad49f4f6212c7e485495a5c19 100644 (file)
@@ -139,7 +139,7 @@ out_close:
        return 1;
 }
 
-static get_default_console(char **console)
+static int get_default_console(char **console)
 {
        int fd;