updated dates in the copyright notices
[util-vserver.git] / util-vserver / lib / syscall_getvxinfo.c
index e41da16..0e72d77 100644 (file)
@@ -21,7 +21,7 @@
 #endif
 
 #include "vserver.h"
-#include "linuxvirtual.h"
+#include "virtual.h"
 
 #if defined(VC_ENABLE_API_OLDPROC) && defined(VC_ENABLE_API_V13)
 #  define VC_MULTIVERSION_SYSCALL      1
@@ -40,7 +40,7 @@ int
 vc_get_vx_info(xid_t xid, struct vc_vx_info *info)
 {
   if (info==0) {
-    errno = EINVAL;
+    errno = EFAULT;
     return -1;
   }
   CALL_VC(CALL_VC_V13    (vc_get_vx_info, xid, info),