summaryrefslogtreecommitdiff
path: root/src/media_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/media_info.c')
-rwxr-xr-xsrc/media_info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/media_info.c b/src/media_info.c
index a4937e1..18beb71 100755
--- a/src/media_info.c
+++ b/src/media_info.c
@@ -176,7 +176,7 @@ static int __media_info_insert_batch(media_batch_insert_e insert_type, const cha
if (fp == NULL) {
media_content_error("failed to open file : [%s]", list_path);
media_content_stderror("failed to open file");
- return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
+ return MEDIA_CONTENT_ERROR_PERMISSION_DENIED;
}
for (idx = 0; idx < array_length; idx++) {