projects
/
platform
/
core
/
api
/
batterymonitor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e686642
)
Parameter Check Correction
43/214143/1
author
Dewal Agarwal
<d1.agarwal@samsung.com>
Wed, 18 Sep 2019 10:09:25 +0000
(15:39 +0530)
committer
Dewal Agarwal
<d1.agarwal@samsung.com>
Wed, 18 Sep 2019 10:09:25 +0000
(15:39 +0530)
Change-Id: I5ac4b3df8b0cd7dfcf0913c2d4aafd3bd85d3469
Signed-off-by: Dewal Agarwal <d1.agarwal@samsung.com>
src/battery_monitor.c
patch
|
blob
|
history
diff --git
a/src/battery_monitor.c
b/src/battery_monitor.c
index 7c8db9ca08f411781303cd425ac53262dde02358..7a87a7cec332e34e385baac85aaff450bb71104f 100644
(file)
--- 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);