fs/procfs/fs_procfsproc.c: Fix a printf format warning
This commit is contained in:
parent
9867c1b467
commit
008d411fc3
@ -630,9 +630,9 @@ static ssize_t proc_status(FAR struct proc_file_s *procfile,
|
||||
return totalsize;
|
||||
}
|
||||
|
||||
/* Show the signal mask */
|
||||
/* Show the signal mask. Note: sigset_t is uint32_t on NuttX. */
|
||||
|
||||
linesize = snprintf(procfile->line, STATUS_LINELEN, "%-12s%08x\n",
|
||||
linesize = snprintf(procfile->line, STATUS_LINELEN, "%-12s%08" PRIx32 "\n",
|
||||
"SigMask:", tcb->sigprocmask);
|
||||
copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining,
|
||||
&offset);
|
||||
|
Loading…
Reference in New Issue
Block a user