From: Dewal Agarwal Date: Wed, 18 Sep 2019 10:09:25 +0000 (+0530) Subject: Parameter Check Correction X-Git-Tag: submit/tizen/20190919.020747~1^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acddc1b909d91b4e092f1b2b03ba7637736e9d6f;p=platform%2Fcore%2Fapi%2Fbatterymonitor.git Parameter Check Correction Change-Id: I5ac4b3df8b0cd7dfcf0913c2d4aafd3bd85d3469 Signed-off-by: Dewal Agarwal --- diff --git a/src/battery_monitor.c b/src/battery_monitor.c index 7c8db9c..7a87a7c 100644 --- a/src/battery_monitor.c +++ b/src/battery_monitor.c @@ -217,7 +217,7 @@ BM_API int battery_monitor_get_usage_by_app_id_for_all_resource_id(char* app_id, CHECK_BATTERY_FEATURE_SUPPORTED(BATTERY_FEATURE); BM_CHECK_INPUT_PARAM(app_id); - BM_CHECK_INPUT_PARAM(*handle); + BM_CHECK_INPUT_PARAM(handle); BM_RETURN_VAL((duration < BATTERY_MONITOR_DURATION_TYPE_MAX), {}, BATTERY_MONITOR_ERROR_INVALID_PARAMETER, "invalid duration"); _INFO("total consumption requested for [%s] for duration [%d]", app_id, duration);