#undef NDEBUG
[util-vserver.git] / util-vserver / lib / getversion-internal.hc
index 22a3168..2b04967 100644 (file)
@@ -22,9 +22,6 @@
 #ifdef HAVE_CONFIG_H
 #  include <config.h>
 #endif
-#include "compat.h"
-
-#include "vserver-internal.h"
 
 #define _LINUX_TYPES_H 1
 #include "linuxvirtual.h"
@@ -32,7 +29,7 @@
 static inline ALWAYSINLINE UNUSED int
 vc_get_version_internal(int cat)
 {
-  return sys_virtual_context(VC_CMD(VERSION, 0, 0), cat, 0);
+  return vserver(VCMD_get_version, cat, 0);
 }
 
 #endif //  H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H