From: so2.park Date: Fri, 14 Oct 2016 04:26:10 +0000 (+0900) Subject: [ITC][device][Non-ACR][Fix build fail] X-Git-Tag: Public_Final_RC6~264^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8da3a4ae3d30f81a605912c8418b128e04250ef9;p=test%2Ftct%2Fnative%2Fapi.git [ITC][device][Non-ACR][Fix build fail] Change-Id: I3816960e3e68be3b934803c435708628a8c19a78 Signed-off-by: so2.park --- diff --git a/src/itc/device/ITs-device_battery.c b/src/itc/device/ITs-device_battery.c index 5daebae..d6a5609 100755 --- a/src/itc/device/ITs-device_battery.c +++ b/src/itc/device/ITs-device_battery.c @@ -134,16 +134,18 @@ int ITc_device_battery_is_charging_p(void) * Thus battery apis need to be handled as no error state in the case. */ if (device_battery_get_status(&status) == DEVICE_ERROR_NONE && status == DEVICE_BATTERY_STATUS_NOT_CHARGING) { - FPRINTF("[Line : %d][%s] Not Charging" __LINE__, API_NAMESPACE); + FPRINTF("[Line : %d][%s] Not Charging", __LINE__, API_NAMESPACE); return 0; } PRINT_RESULT(DEVICE_ERROR_NONE, nRet, "device_battery_is_charging", DeviceGetError(nRet)); - if (bCharging) - FPRINTF("[Line : %d][%s] Battery is charging" __LINE__, API_NAMESPACE); - else - FPRINTF("[Line : %d][%s] Battery is discharging" __LINE__, API_NAMESPACE); + if (bCharging){ + FPRINTF("[Line : %d][%s] Battery is charging", __LINE__, API_NAMESPACE); + } + else { + FPRINTF("[Line : %d][%s] Battery is discharging", __LINE__, API_NAMESPACE); + } return 0; }