sensord: remove unnecessary information from the log
[platform/core/system/sensord.git] / src / client / client.cpp
index 7fd43f5..bc559ff 100644 (file)
@@ -1047,8 +1047,8 @@ static int change_pause_policy(int handle, int pause)
        AUTOLOCK(lock);
 
        retvm_if((pause < 0) || (pause >= SENSORD_PAUSE_END), -EINVAL,
-               "Invalid pause value : %d, handle: %d, %s, %s",
-               pause, handle, get_sensor_name(sensor_id), get_client_name());
+               "Invalid pause value : %d, handle: %d, %s",
+               pause, handle, get_client_name());
 
        if (!sensor_client_info::get_instance().get_sensor_state(handle, sensor_state)||
                !sensor_client_info::get_instance().get_sensor_id(handle, sensor_id)) {