added vprocunhide
[util-vserver.git] / util-vserver / lib / syscall_getflags-v13.hc
index 5d8be82..e3f99c6 100644 (file)
@@ -28,7 +28,7 @@ vc_get_flags_v13(xid_t xid, struct vc_ctx_flags *flags)
   int                          res;
 
   if (flags==0) {
-    errno = EINVAL;
+    errno = EFAULT;
     return -1;
   }