]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix compilation error
authordlezcano <dlezcano>
Wed, 26 Nov 2008 17:06:19 +0000 (17:06 +0000)
committerdlezcano <dlezcano>
Wed, 26 Nov 2008 17:06:19 +0000 (17:06 +0000)
From: Daniel Lezcano <dlezcano@fr.ibm.com>

Remove ';' symbol at the end of the macro.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/lxc_namespace.h

index 4059368643d7f866dbef0837dde5e03bc19a1f57..3bef4a8fe7869ad131fe77e3016172fb239ed3de 100644 (file)
 #  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