From: Enrico Scholz Date: Fri, 5 Mar 2004 04:42:31 +0000 (+0000) Subject: fixed error-checking X-Git-Tag: VERSION_0_10~479 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=503b1cecf3b22dc6eed52dd6ccf27b429df0f826;p=util-vserver.git fixed error-checking git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1092 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/ensc_wrappers/wrappers-vserver.hc b/util-vserver/ensc_wrappers/wrappers-vserver.hc index 05b9ad6..12178d2 100644 --- a/util-vserver/ensc_wrappers/wrappers-vserver.hc +++ b/util-vserver/ensc_wrappers/wrappers-vserver.hc @@ -55,11 +55,11 @@ Evc_migrate_context(xid_t xid) inline static WRAPPER_DECL void Evc_get_flags(xid_t xid, struct vc_ctx_flags *flags) { - FatalErrnoError(vc_get_flags(xid, flags)!=-1, "vc_get_flags()"); + FatalErrnoError(vc_get_flags(xid, flags)==-1, "vc_get_flags()"); } inline static WRAPPER_DECL void Evc_set_flags(xid_t xid, struct vc_ctx_flags const *flags) { - FatalErrnoError(vc_set_flags(xid, flags)!=-1, "vc_set_flags()"); + FatalErrnoError(vc_set_flags(xid, flags)==-1, "vc_set_flags()"); }