removed everything an include <lib_internal/util.h> only
[util-vserver.git] / util-vserver / src / chxid.c
index 2e86b2b..f6bd807 100644 (file)
@@ -67,12 +67,9 @@ showVersion()
 }
 
 bool
-handleFile(char const *name, char const * display_name,
-          struct stat const *exp_st)
+handleFile(char const *name, char const * display_name)
 {
-  int  rc = vc_set_iattr_compat(name, exp_st->st_dev, exp_st->st_ino,
-                                global_args->ctx, 0, VC_IATTR_XID,
-                                &exp_st->st_mode);
+  int  rc = vc_set_iattr(name, global_args->ctx, 0, VC_IATTR_XID);
   
   if (rc==-1) {
     perror(display_name);