mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
fs/procfstcbinfo: minor bug about print address
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
1b6ce6b4cf
commit
b5fb93aefb
@@ -195,7 +195,7 @@ static ssize_t tcbinfo_read(FAR struct file *filep, FAR char *buffer,
|
||||
if (filep->f_pos == 0)
|
||||
{
|
||||
linesize = procfs_snprintf(attr->line, TCBINFO_LINELEN,
|
||||
"pointer %p size %d\n", g_tcbinfo,
|
||||
"pointer %p size %d\n", &g_tcbinfo,
|
||||
sizeof(struct tcbinfo_s));
|
||||
|
||||
/* Save the linesize in case we are re-entered with f_pos > 0 */
|
||||
|
||||
Reference in New Issue
Block a user