From: dlezcano Date: Wed, 26 Nov 2008 17:06:19 +0000 (+0000) Subject: Fix compilation error X-Git-Tag: lxc_0_5_0~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c6c0227e386afe7f2f16a20744498fd237cac33;p=thirdparty%2Flxc.git Fix compilation error From: Daniel Lezcano Remove ';' symbol at the end of the macro. Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/lxc_namespace.h b/src/lxc/lxc_namespace.h index 405936864..3bef4a8fe 100644 --- a/src/lxc/lxc_namespace.h +++ b/src/lxc/lxc_namespace.h @@ -61,11 +61,11 @@ # endif #endif #if __i386__ || __x86_64__ || __s390__ || __powerpc__ -# define fork_ns(flags) syscall(SYS_clone, flags|SIGCHLD, NULL); +# define fork_ns(flags) syscall(SYS_clone, flags|SIGCHLD, NULL) #elif __ia64__ -# define fork_ns(flags) syscall(SYS_clone2, flags|SIGCHLD, NULL); +# define fork_ns(flags) syscall(SYS_clone2, flags|SIGCHLD, NULL) #else # error "unsupported architecture" #endif -#define unshare_ns(flags) syscall(__NR_unshare, flags, NULL); +#define unshare_ns(flags) syscall(__NR_unshare, flags, NULL) #endif