OpenAtomFoundation / TobudOS

开放原子开源基金会孵化的物联网操作系统,捐赠前为腾讯物联网终端操作系统TencentOS Tiny
https://cloud.tencent.com/product/tos-tiny
5.97k stars 1.61k forks source link

Fixed a wrong parament name in printf #363

Closed Hustrookies closed 1 year ago

Hustrookies commented 1 year ago

1. 这个PR修复的是什么问题? 根据前后文以及printf的信息,这里的printf("file_len is %d, remain_len = %d\r\n", file_len, read_len);应该改为printf("file_len is %d, remain_len = %d\r\n", file_len, remain_len);

2. 这个PR不修复具体会带来什么后果? 错误的输出,且read_len未初始化,可能导致不确定行为

3. PR修复方案的依据是什么? 前后文信息以及printf的输出提示信息

4. 在什么环境下测试或者验证过? all

tencent-adm commented 1 year ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.