diff --git a/legacy/ecore/src/lib/ecore_file/ecore_file.c b/legacy/ecore/src/lib/ecore_file/ecore_file.c index 0146666309..00f34907b8 100644 --- a/legacy/ecore/src/lib/ecore_file/ecore_file.c +++ b/legacy/ecore/src/lib/ecore_file/ecore_file.c @@ -598,11 +598,7 @@ ecore_file_mv(const char *src, const char *dst) dir, ecore_file_file_get(dst)); free(dir); fd = mkstemp(buf); - if (fd < 0) - { - perror("mkstemp"); - goto FAIL; - } + if (fd < 0) goto FAIL; close(fd); // Copy to temp file