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;
}
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;
}
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;
}
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;
}