Cygwin: /proc/<PID>/status: fix format specifier

The format specifier used for the signal masks is incorrectly
assuming 32 bit values.  Fix it.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2022-03-01 14:06:09 +01:00
parent aec053c60c
commit 25937aa1d0
1 changed files with 3 additions and 3 deletions

View File

@ -1257,9 +1257,9 @@ format_process_status (void *data, char *&destbuf)
"VmStk:\t%8lu kB\n"
"VmExe:\t%8lu kB\n"
"VmLib:\t%8lu kB\n"
"SigPnd:\t%016x\n"
"SigBlk:\t%016x\n"
"SigIgn:\t%016x\n",
"SigPnd:\t%016lx\n"
"SigBlk:\t%016lx\n"
"SigIgn:\t%016lx\n",
cmd,
state, state_str,
p->pgid,