summaryrefslogtreecommitdiff
path: root/src/lib/eina
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-05-29 09:16:30 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-05-29 12:29:03 -0400
commit655c816539e4562bfedc9f2a0e72c50757a1b350 (patch)
tree508c5fffa44340889a7dbb78261d38553234d30d /src/lib/eina
parent0f5cec8d515e8b2e9b981f0a925b28a8fa6c8553 (diff)
eina/file: use INFO log level when eina_file_open fails
Summary: this function is commonly used to detect the existence of files using its return value. for this purpose, printing warnings any time the file cannot be opened is spammy and not very helpful in the context of detecting actual errors. Depends on D8950 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8951
Diffstat (limited to 'src/lib/eina')
-rw-r--r--src/lib/eina/eina_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eina/eina_file.c b/src/lib/eina/eina_file.c
index 827775b..cc53f65 100644
--- a/src/lib/eina/eina_file.c
+++ b/src/lib/eina/eina_file.c
@@ -877,7 +877,7 @@ eina_file_open(const char *path, Eina_Bool shared)
877 return n; 877 return n;
878 878
879 on_error: 879 on_error:
880 WRN("Could not open file [%s].", filename); 880 INF("Could not open file [%s].", filename);
881 eina_stringshare_del(filename); 881 eina_stringshare_del(filename);
882 882
883 if (fd >= 0) close(fd); 883 if (fd >= 0) close(fd);