correct printf formats 02/166402/1
authorBoram Park <boram1288.park@samsung.com>
Wed, 10 Jan 2018 05:19:07 +0000 (14:19 +0900)
committerBoram Park <boram1288.park@samsung.com>
Wed, 10 Jan 2018 05:19:07 +0000 (14:19 +0900)
Change-Id: I8b414e1f2016298699a7f1c1dadc85b0414d910f

src/tdm_capture.c
src/tdm_layer.c
src/tdm_pp.c

index 9d924c2..add764a 100644 (file)
@@ -457,7 +457,7 @@ tdm_capture_set_info(tdm_capture *capture, tdm_info_capture *info)
                info->frequency = private_output->current_mode->vrefresh;
        }
 
-       TDM_INFO("capture(%p) info: dst(%dx%d %d,%d %dx%d %c%c%c%c) trans(%d) type(%d) freq(%d) flags(%x)",
+       TDM_INFO("capture(%p) info: dst(%ux%u %u,%u %ux%u %c%c%c%c) trans(%d) type(%d) freq(%d) flags(%x)",
                         private_capture,
                         info->dst_config.size.h, info->dst_config.size.v,
                         info->dst_config.pos.x, info->dst_config.pos.y,
index b906f74..0e66228 100644 (file)
@@ -240,7 +240,7 @@ tdm_layer_set_info(tdm_layer *layer, tdm_info_layer *info)
        else
                snprintf(fmtstr, 128, "NONE");
 
-       TDM_INFO("layer(%p) info: src(%dx%d %d,%d %dx%d %s) dst(%d,%d %dx%d) trans(%d)",
+       TDM_INFO("layer(%p) info: src(%ux%u %u,%u %ux%u %s) dst(%u,%u %ux%u) trans(%d)",
                         private_layer, info->src_config.size.h, info->src_config.size.v,
                         info->src_config.pos.x, info->src_config.pos.y,
                         info->src_config.pos.w, info->src_config.pos.h,
index 80eb330..ccec73f 100644 (file)
@@ -366,7 +366,7 @@ tdm_pp_set_info(tdm_pp *pp, tdm_info_pp *info)
                /* LCOV_EXCL_STOP */
        }
 
-       TDM_INFO("pp(%p) info: src(%dx%d %d,%d %dx%d %c%c%c%c) dst(%dx%d %d,%d %dx%d %c%c%c%c) trans(%d) sync(%d) flags(%x)",
+       TDM_INFO("pp(%p) info: src(%ux%u %u,%u %ux%u %c%c%c%c) dst(%ux%u %u,%u %ux%u %c%c%c%c) trans(%d) sync(%d) flags(%x)",
                         private_pp, info->src_config.size.h, info->src_config.size.v,
                         info->src_config.pos.x, info->src_config.pos.y,
                         info->src_config.pos.w, info->src_config.pos.h,