getRecentName(): use realpath(3) instead of errorprone 'chdir()' calls
[util-vserver.git] / util-vserver / lib / getversion-internal.hc
index 4706b0c..2b04967 100644 (file)
 #  include <config.h>
 #endif
 
-#include "vserver-internal.h"
-
 #define _LINUX_TYPES_H 1
 #include "linuxvirtual.h"
 
 static inline ALWAYSINLINE UNUSED int
 vc_get_version_internal(int cat)
 {
-  return vserver(VC_CMD(VERSION, 0, 0), cat, 0);
+  return vserver(VCMD_get_version, cat, 0);
 }
 
 #endif //  H_UTIL_VSERVER_LIB_GETVERSION_INTERNAL_H