From cf9094b5a87b3b61cebf001bde216bd9cff59e3c Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Tue, 14 Oct 2003 16:11:18 +0000 Subject: [PATCH 1/1] fixed vc_X_getcctx() git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@150 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/lib/vserver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-vserver/lib/vserver.h b/util-vserver/lib/vserver.h index e476f4d..c81a2a4 100644 --- a/util-vserver/lib/vserver.h +++ b/util-vserver/lib/vserver.h @@ -56,7 +56,7 @@ extern "C" { ctx_t vc_X_getctx(pid_t pid); /** Returns the context of the current process. */ -#define vc_X_getcctx (getctx(getpid())) +#define vc_X_getcctx() (vc_X_getctx(getpid())) #ifdef __cplusplus } -- 1.8.1.5