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_*/
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;
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);