[ITC][device][Non-ACR][Fix build fail]
authorso2.park <so2.park@samsung.com>
Fri, 14 Oct 2016 04:26:10 +0000 (13:26 +0900)
committerso2.park <so2.park@samsung.com>
Fri, 14 Oct 2016 04:26:10 +0000 (13:26 +0900)
Change-Id: I3816960e3e68be3b934803c435708628a8c19a78
Signed-off-by: so2.park <so2.park@samsung.com>
src/itc/device/ITs-device_battery.c

index 5daebae..d6a5609 100755 (executable)
@@ -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;
 }