summaryrefslogtreecommitdiff
path: root/proc/pids.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc/pids.c')
-rw-r--r--proc/pids.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proc/pids.c b/proc/pids.c
index f932ae5..88fe146 100644
--- a/proc/pids.c
+++ b/proc/pids.c
@@ -227,7 +227,7 @@ REG_set(OOM_ADJ, s_int, oom_adj)
REG_set(OOM_SCORE, s_int, oom_score)
REG_set(PRIORITY, s_int, priority)
REG_set(PRIORITY_RT, s_int, rtprio)
-REG_set(PROCESSOR, u_int, processor)
+REG_set(PROCESSOR, s_int, processor)
setDECL(PROCESSOR_NODE) { (void)I; R->result.s_int = numa_node_of_cpu(P->processor); }
REG_set(RSS, ul_int, rss)
REG_set(RSS_RLIM, ul_int, rss_rlim)
@@ -510,7 +510,7 @@ static struct {
{ RS(OOM_SCORE), f_oom, NULL, QS(s_int), 0, TS(s_int) },
{ RS(PRIORITY), f_stat, NULL, QS(s_int), 0, TS(s_int) },
{ RS(PRIORITY_RT), f_stat, NULL, QS(s_int), 0, TS(s_int) },
- { RS(PROCESSOR), f_stat, NULL, QS(u_int), 0, TS(u_int) },
+ { RS(PROCESSOR), f_stat, NULL, QS(s_int), 0, TS(s_int) },
{ RS(PROCESSOR_NODE), f_stat, NULL, QS(s_int), 0, TS(s_int) },
{ RS(RSS), f_stat, NULL, QS(ul_int), 0, TS(ul_int) },
{ RS(RSS_RLIM), f_stat, NULL, QS(ul_int), 0, TS(ul_int) },