if (storage_id < 0) {
_E("Invalid parameger");
- return STORAGE_ERROR_NOT_SUPPORTED;
+ return STORAGE_ERROR_NO_DEVICE;
}
if (!type) {
ret = storage_ext_get_device_info(storage_id, ext_dev);
if (ret < 0) {
_E("Cannot get the storage with id (%d, ret:%d)", storage_id, ret); //LCOV_EXCL_LINE
- ret = STORAGE_ERROR_NOT_SUPPORTED;
+ ret = STORAGE_ERROR_NO_DEVICE;
goto out;
}