utimens: cache whether utimensat syscall works
[pspp] / lib / chown.c
index cca1d7f3c6091f4b69a1a513bf2ac2b8d594a93d..b851cbc4c0bf13e7e88854bd93fb6ac0675c628e 100644 (file)
@@ -103,7 +103,7 @@ rpl_chown (const char *file, uid_t uid, gid_t gid)
   return chown (file, uid, gid);
 
 #else /* !HAVE_CHOWN */
-  errno = EOPNOTSUPP;
+  errno = ENOSYS;
   return -1;
 #endif
 }