use $(LIBENSCVECTOR) instead of libensc_vector.a
[util-vserver.git] / util-vserver / lib / ioctl-setxflg.hc
index 24cee02..f320ee5 100644 (file)
@@ -33,10 +33,7 @@ vc_X_set_xflg(int fd, long flags)
   int          rc;
   rc = ioctl(fd, FIOC_SETXFLG, &flags);
 
-  if (rc<-1) {
-    errno = -rc;
-    rc    = -1;
-  }
+  ENSC_FIX_IOCTL(rc);
 
   return rc;
 }