diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2016-09-06 15:08:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 15:08:26 -0300 |
commit | 5a5a7c8d6b4211744803df70bc26568e621f6fb5 (patch) | |
tree | be9b37537097391095002e28d55d59138fddb857 | |
parent | 6d4df3d138cefc3312235f451620f342cc97a136 (diff) | |
parent | 07086fcf776833e9e2a7ad7f8bd6c1a5481d0d00 (diff) |
Merge pull request #555 from ivan/master
Fix column misalignment for priority -101 threads
-rw-r--r-- | Process.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -429,7 +429,7 @@ void Process_writeField(Process* this, RichString* str, ProcessField field) { case PID: snprintf(buffer, n, Process_pidFormat, this->pid); break; case PPID: snprintf(buffer, n, Process_pidFormat, this->ppid); break; case PRIORITY: { - if(this->priority == -100) + if(this->priority <= -100) snprintf(buffer, n, " RT "); else snprintf(buffer, n, "%3ld ", this->priority); |