Fix typo 34/147334/1
authorMinje Ahn <minje.ahn@samsung.com>
Mon, 4 Sep 2017 04:58:52 +0000 (13:58 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Mon, 4 Sep 2017 04:58:52 +0000 (13:58 +0900)
Change-Id: I38a3f3f155139ba0ebda14bd9601384f2c2bf81f
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
src/common/include/media-common-external-storage.h
src/common/media-common-external-storage.c
src/common/media-common-system.c

index 2bb932b..65297cc 100755 (executable)
@@ -34,6 +34,6 @@ int ms_get_stg_changed_event(void);
 int ms_read_device_info(const char *root_path, char **device_uuid);
 int ms_write_device_info(const char *root_path, char *device_uuid);
 
-int ms_get_added_stroage_path(void **handle, const char *add_path, char **device_id);
+int ms_get_added_storage_path(void **handle, const char *add_path, char **device_id);
 
 #endif /*_MEDIA_SERVER_EXTERNAL_STORAGE_H_*/
index 71aa79c..490cb7e 100755 (executable)
@@ -237,7 +237,7 @@ int ms_write_device_info(const char *root_path, char *device_uuid)
        return MS_MEDIA_ERR_NONE;
 }
 
-int ms_get_added_stroage_path(void **handle, const char *add_path, char **device_id)
+int ms_get_added_storage_path(void **handle, const char *add_path, char **device_id)
 {
        int ret = MS_MEDIA_ERR_NONE;
        char *id = NULL;
index 3d64277..beb3fc5 100755 (executable)
@@ -443,7 +443,7 @@ int ms_sys_get_device_list(ms_stg_type_e stg_type, GArray **dev_list)
                                char *storage_id = NULL;
                                ms_block_info_s *data = NULL;
 
-                               err = ms_get_added_stroage_path(handle, mount_path, &storage_id);
+                               err = ms_get_added_storage_path(handle, mount_path, &storage_id);
                                if ((err == MS_MEDIA_ERR_NONE) && (storage_id != NULL)) {
                                        data = malloc(sizeof(ms_block_info_s));
                                        data->mount_path = strdup(mount_path);