From acddc1b909d91b4e092f1b2b03ba7637736e9d6f Mon Sep 17 00:00:00 2001 From: Dewal Agarwal Date: Wed, 18 Sep 2019 15:39:25 +0530 Subject: [PATCH] Parameter Check Correction Change-Id: I5ac4b3df8b0cd7dfcf0913c2d4aafd3bd85d3469 Signed-off-by: Dewal Agarwal --- src/battery_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1