clover: camera: Fix snprintf string truncation error
* Now we truncate the string by ourselves, instead of letting snprintf to do so, which causes compilation error on U QPR3... Change-Id: Ic09cd438ef5a94f4d99d18e932b4aafd990fc753
This commit is contained in:
parent
a67ca0f8e4
commit
c720bfe496
1 changed files with 1 additions and 1 deletions
|
@ -882,7 +882,7 @@ int32_t mm_stream_fsm_reg(mm_stream_t * my_obj,
|
|||
|
||||
pthread_mutex_lock(&my_obj->cmd_lock);
|
||||
if (has_cb) {
|
||||
snprintf(my_obj->cmd_thread.threadName, THREAD_NAME_SIZE, "CAM_StrmAppData");
|
||||
snprintf(my_obj->cmd_thread.threadName, THREAD_NAME_SIZE, "CAM_StrmAppDat");
|
||||
mm_camera_cmd_thread_launch(&my_obj->cmd_thread,
|
||||
mm_stream_dispatch_app_data,
|
||||
(void *)my_obj);
|
||||
|
|
Loading…
Reference in a new issue