Fix log msg 10/184610/1 accepted/tizen/unified/20180730.142102 submit/tizen/20180727.055504
authorMinje Ahn <minje.ahn@samsung.com>
Thu, 19 Jul 2018 07:10:32 +0000 (16:10 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Thu, 19 Jul 2018 07:10:32 +0000 (16:10 +0900)
Change-Id: I152cc08c52d442c7a48984a16d3629606999a702
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/media_util_private.c

index e5bf3b0..d3d2556 100755 (executable)
@@ -370,7 +370,7 @@ int _media_content_replace_path_in_condition(const char *condition, char *replac
        if (replace == TRUE) {  //change User session path to System session path
                ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &find_str);
                if (ret != STORAGE_ERROR_NONE) {
-                       media_content_error("storage_get_directory failed");
+                       media_content_error("storage_get_root_directory failed");
                        ret = MEDIA_CONTENT_ERROR_INVALID_OPERATION;
                        goto ERROR;
                }
@@ -391,7 +391,7 @@ int _media_content_replace_path_in_condition(const char *condition, char *replac
 
                ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &to_replace_str);
                if (ret != STORAGE_ERROR_NONE) {
-                       media_content_error("storage_get_directory failed");
+                       media_content_error("storage_get_root_directory failed");
                        ret = MEDIA_CONTENT_ERROR_INVALID_OPERATION;
                        goto ERROR;
                }
@@ -463,7 +463,7 @@ int _media_content_replace_path(const char *path, char *replace_path)
 
        ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &old_internal_path);
        if (ret != STORAGE_ERROR_NONE) {
-               media_content_error("storage_get_directory failed");
+               media_content_error("storage_get_root_directory failed");
                return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
        }
 
@@ -496,7 +496,7 @@ int _media_content_rollback_path(const char *path, char *replace_path)
 
        ret = storage_get_root_directory(STORAGE_TYPE_INTERNAL, &old_internal_path);
        if (ret != STORAGE_ERROR_NONE) {
-               media_content_error("storage_get_directory failed");
+               media_content_error("storage_get_root_directory failed");
                return MEDIA_CONTENT_ERROR_INVALID_OPERATION;
        }