From: Enrico Scholz Date: Tue, 13 Jan 2004 23:36:33 +0000 (+0000) Subject: minor code cleanups X-Git-Tag: VERSION_0_10~940 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51890064608d408c64f736ab0cec78c37de19b87;p=util-vserver.git minor code cleanups git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@587 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/lib/getctx.c b/util-vserver/lib/getctx.c index c47bf28..ee1b504 100644 --- a/util-vserver/lib/getctx.c +++ b/util-vserver/lib/getctx.c @@ -38,7 +38,7 @@ xid_t vc_X_getctx(pid_t pid) { #ifndef NDEBUG - if (!getenv("VC_BE_VALGRIND_FRIENDLY")) + if (getenv("VC_BE_VALGRIND_FRIENDLY")==0) #endif CALL_VC(CALL_VC_COMPAT(vc_X_getctx, pid), CALL_VC_LEGACY(vc_X_getctx, pid));