From: Hyuntae Kim Date: Mon, 10 Jun 2019 02:11:30 +0000 (+0900) Subject: [camera hal] build error with log tag parameters X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.0;p=platform%2Fadaptation%2Fcamera-hal-v4l2.git [camera hal] build error with log tag parameters 1. camera log parameter mismatched with number of inputs [Version] 0.0.2 [Profile] Common [Issue Type] Update [Dependency module] N/A Change-Id: Idc01dfaca9dd1007faa6b2cbc3b8d0d96bd2f83c --- diff --git a/src/tizen_camera_v4l2.c b/src/tizen_camera_v4l2.c index fb7c87e..e59c669 100644 --- a/src/tizen_camera_v4l2.c +++ b/src/tizen_camera_v4l2.c @@ -445,7 +445,7 @@ static int _camera_get_device_info(int device_index, int device_fd, camera_devic v4l2_frame.stepwise.max_height); break; case V4L2_FRMSIZE_TYPE_STEPWISE: - LOGW("\t\tsize[%d] %ux%u - %ux%u (step %ux%u)", + LOGW("\t\tsize[%d] %ux%u - %ux%u (step %ux%u)", j, v4l2_frame.stepwise.min_width, v4l2_frame.stepwise.min_height, v4l2_frame.stepwise.max_width, @@ -1165,7 +1165,7 @@ int camera_set_preview_stream_format(void *camera_handle, camera_format_t *forma if (V4L2_TYPE_IS_MULTIPLANAR(handle->v4l2_type)) { for (i = 0 ; i < v4l2_fmt.fmt.pix_mp.num_planes ; i++) { - LOGD("plane[%d] stride %d, sizeimage %d", + LOGD("plane[%d] stride %d, sizeimage %d", i, v4l2_fmt.fmt.pix_mp.plane_fmt[i].bytesperline, v4l2_fmt.fmt.pix_mp.plane_fmt[i].sizeimage); } @@ -1810,7 +1810,7 @@ int camera_set_batch_command(void *camera_handle, camera_batch_command_control_t g_mutex_lock(&handle->lock); - LOGD("set batch command - flag 0x"PRIx64", state %d", + LOGD("set batch command - flag 0x%"PRIx64", state %d", batch_command->command_set_flag, handle->state); /* TODO: to be implemented */