aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eio/eio_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eio/eio_file.c')
-rw-r--r--src/lib/eio/eio_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eio/eio_file.c b/src/lib/eio/eio_file.c
index a7a8457de..50a8be24c 100644
--- a/src/lib/eio/eio_file.c
+++ b/src/lib/eio/eio_file.c
@@ -675,7 +675,7 @@ eio_file_copy_do(Ecore_Thread *thread, Eio_File_Progress *copy)
}
/* change access right to match source */
-#ifdef HAVE_CHMOD
+#ifdef HAVE_FCHMOD
if (fchmod(out, md) != 0)
goto on_error;
#else