Just add msg for debugging 51/127651/2
authorHaejeong Kim <backto.kim@samsung.com>
Fri, 28 Apr 2017 07:14:11 +0000 (16:14 +0900)
committerhj kim <backto.kim@samsung.com>
Fri, 28 Apr 2017 07:15:53 +0000 (07:15 +0000)
Change-Id: I6f59a498b9cbb1b269a5ad3f487870d8280b76d1

src/common/media-svc-util.c
src/include/common/media-svc-debug.h

index b6287c9..6ae5d0e 100755 (executable)
@@ -2333,6 +2333,7 @@ int _media_svc_get_storage_type_by_path(const char *path, media_svc_storage_type
                        *storage_type = MEDIA_SVC_STORAGE_EXTERNAL;
                } else {
                        media_svc_error("Invalid Path");
+                       media_svc_sec_error("Invalid Path [%s], internal_path [%s]", path, internal_path);
                        SAFE_FREE(internal_path);
                        return MS_MEDIA_ERR_INVALID_PARAMETER;
                }
index 96ec172..a5a8ecd 100755 (executable)
@@ -95,7 +95,7 @@
                        SECURE_LOGW(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
                } while (0)
 
-#define media_svct_sec_error(fmt, arg...) do { \
+#define media_svc_sec_error(fmt, arg...) do { \
                        SECURE_LOGE(FONT_COLOR_RED""fmt""FONT_COLOR_RESET, ##arg); \
                } while (0)